dyld: Symbol not found: __cg_jpeg_resync_to_restart

View: New views
7 Messages — Rating Filter:   Alert me  

dyld: Symbol not found: __cg_jpeg_resync_to_restart

by Juan D.Velasquez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I managed to install Player/Stage (and Gazebo) under Mac OS X  
(10.4.9) and I can run all examples in Gazebo and Stage.
However, I cannot run the examples that are part of /player-2.0 .3/
examples/libplayerc++ while attempting to run a robot autonomously in  
player/stage, because I get the following error:

dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from:

/System/Library/Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /sw/lib/libJPEG.dylib

Trace/BPT trap


Apparently this is a problem with inconsistencies due to multiple  
versions of the libjpeg.dylib (and libJPEG.dylib) libraries that  
exist in both fink and OS X (Tiger) in /sw/lib/libjpeg.dylib and  
System/Library/Frameworks/ApplicationServices.framework/Versions/A/
Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib  
respectively.

I saw a similar post in the playerstage-users archive, however the  
solution of removing the symbolic links in /sw/lib for libjpeg.dylib  
does not work for me as I would not be able to build player again and  
besides, this would mean that other apps requiring fink's  
libjpeg.dylib with have issues too.

Has anybody come across this issue? Any ideas how to resolve it?

Thanks,

--Juan



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@...
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Re: dyld: Symbol not found: __cg_jpeg_resync_to_restart

by Nathan Michael :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Do you have your environment variable:

DYLD_FALLBACK_LIBRARY_PATH

set properly?

Put this lines in your ~/.profile

export DYLD_FALLBACK_LIBRARY_PATH=/sw/lib:$DYLD_FALLBACK_LIBRARY_PATH

That should fix it.

Nathan

On Apr 11, 2007, at 6:49 PM, Juan D. Velasquez wrote:

> I managed to install Player/Stage (and Gazebo) under Mac OS X
> (10.4.9) and I can run all examples in Gazebo and Stage.
> However, I cannot run the examples that are part of /player-2.0 .3/
> examples/libplayerc++ while attempting to run a robot autonomously in
> player/stage, because I get the following error:
>
> dyld: Symbol not found: __cg_jpeg_resync_to_restart
> Referenced from:
>
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/
> Frameworks/ImageIO.framework/Versions/A/ImageIO
> Expected in: /sw/lib/libJPEG.dylib
>
> Trace/BPT trap
>
>
> Apparently this is a problem with inconsistencies due to multiple
> versions of the libjpeg.dylib (and libJPEG.dylib) libraries that
> exist in both fink and OS X (Tiger) in /sw/lib/libjpeg.dylib and
> System/Library/Frameworks/ApplicationServices.framework/Versions/A/
> Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
> respectively.
>
> I saw a similar post in the playerstage-users archive, however the
> solution of removing the symbolic links in /sw/lib for libjpeg.dylib
> does not work for me as I would not be able to build player again and
> besides, this would mean that other apps requiring fink's
> libjpeg.dylib with have issues too.
>
> Has anybody come across this issue? Any ideas how to resolve it?
>
> Thanks,
>
> --Juan
>
>
>
> ----------------------------------------------------------------------
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Playerstage-gazebo mailing list
> Playerstage-gazebo@...
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@...
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Re: dyld: Symbol not found: __cg_jpeg_resync_to_restart

by Juan D.Velasquez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks, Nathan. I had tried that before (and just to double-check I  
just tried it again), but it does not solve the error. Weird, huh?

--J


On Apr 11, 2007, at 7:36 PM, Nathan Michael wrote:

> Do you have your environment variable:
>
> DYLD_FALLBACK_LIBRARY_PATH
>
> set properly?
>
> Put this lines in your ~/.profile
>
> export DYLD_FALLBACK_LIBRARY_PATH=/sw/lib:$DYLD_FALLBACK_LIBRARY_PATH
>
> That should fix it.
>
> Nathan
>
> On Apr 11, 2007, at 6:49 PM, Juan D. Velasquez wrote:
>
>> I managed to install Player/Stage (and Gazebo) under Mac OS X
>> (10.4.9) and I can run all examples in Gazebo and Stage.
>> However, I cannot run the examples that are part of /player-2.0 .3/
>> examples/libplayerc++ while attempting to run a robot autonomously in
>> player/stage, because I get the following error:
>>
>> dyld: Symbol not found: __cg_jpeg_resync_to_restart
>> Referenced from:
>>
>> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/
>> Frameworks/ImageIO.framework/Versions/A/ImageIO
>> Expected in: /sw/lib/libJPEG.dylib
>>
>> Trace/BPT trap
>>
>>
>> Apparently this is a problem with inconsistencies due to multiple
>> versions of the libjpeg.dylib (and libJPEG.dylib) libraries that
>> exist in both fink and OS X (Tiger) in /sw/lib/libjpeg.dylib and
>> System/Library/Frameworks/ApplicationServices.framework/Versions/A/
>> Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
>> respectively.
>>
>> I saw a similar post in the playerstage-users archive, however the
>> solution of removing the symbolic links in /sw/lib for libjpeg.dylib
>> does not work for me as I would not be able to build player again and
>> besides, this would mean that other apps requiring fink's
>> libjpeg.dylib with have issues too.
>>
>> Has anybody come across this issue? Any ideas how to resolve it?
>>
>> Thanks,
>>
>> --Juan
>>
>>
>>
>> ---------------------------------------------------------------------
>> -
>> ---
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share your
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php?
>> page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Playerstage-gazebo mailing list
>> Playerstage-gazebo@...
>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
>
> ----------------------------------------------------------------------
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Playerstage-gazebo mailing list
> Playerstage-gazebo@...
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@...
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Re: dyld: Symbol not found: __cg_jpeg_resync_to_restart

by Brian Gerkey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Are you running from where you built player?  I usually find that  
after a 'make install,' this problem goes away.

(but it's frustrating, regardless)

        brian.

On Apr 12, 2007, at 2:13 AM, Juan D. Velasquez wrote:

> Thanks, Nathan. I had tried that before (and just to double-check I
> just tried it again), but it does not solve the error. Weird, huh?
>
> --J
>
>
> On Apr 11, 2007, at 7:36 PM, Nathan Michael wrote:
>
>> Do you have your environment variable:
>>
>> DYLD_FALLBACK_LIBRARY_PATH
>>
>> set properly?
>>
>> Put this lines in your ~/.profile
>>
>> export DYLD_FALLBACK_LIBRARY_PATH=/sw/lib:$DYLD_FALLBACK_LIBRARY_PATH
>>
>> That should fix it.
>>
>> Nathan
>>
>> On Apr 11, 2007, at 6:49 PM, Juan D. Velasquez wrote:
>>
>>> I managed to install Player/Stage (and Gazebo) under Mac OS X
>>> (10.4.9) and I can run all examples in Gazebo and Stage.
>>> However, I cannot run the examples that are part of /player-2.0 .3/
>>> examples/libplayerc++ while attempting to run a robot  
>>> autonomously in
>>> player/stage, because I get the following error:
>>>
>>> dyld: Symbol not found: __cg_jpeg_resync_to_restart
>>> Referenced from:
>>>
>>> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/
>>> Frameworks/ImageIO.framework/Versions/A/ImageIO
>>> Expected in: /sw/lib/libJPEG.dylib
>>>
>>> Trace/BPT trap
>>>
>>>
>>> Apparently this is a problem with inconsistencies due to multiple
>>> versions of the libjpeg.dylib (and libJPEG.dylib) libraries that
>>> exist in both fink and OS X (Tiger) in /sw/lib/libjpeg.dylib and
>>> System/Library/Frameworks/ApplicationServices.framework/Versions/A/
>>> Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
>>> respectively.
>>>
>>> I saw a similar post in the playerstage-users archive, however the
>>> solution of removing the symbolic links in /sw/lib for libjpeg.dylib
>>> does not work for me as I would not be able to build player again  
>>> and
>>> besides, this would mean that other apps requiring fink's
>>> libjpeg.dylib with have issues too.
>>>
>>> Has anybody come across this issue? Any ideas how to resolve it?
>>>
>>> Thanks,
>>>
>>> --Juan
>>>
>>>
>>>
>>> --------------------------------------------------------------------
>>> -
>>> -
>>> ---
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to
>>> share your
>>> opinions on IT & business topics through brief surveys-and earn cash
>>> http://www.techsay.com/default.php?
>>> page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> Playerstage-gazebo mailing list
>>> Playerstage-gazebo@...
>>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>
>>
>> ---------------------------------------------------------------------
>> -
>> ---
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share your
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php?
>> page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Playerstage-gazebo mailing list
>> Playerstage-gazebo@...
>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
>
> ----------------------------------------------------------------------
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Playerstage-gazebo mailing list
> Playerstage-gazebo@...
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@...
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Re: dyld: Symbol not found: __cg_jpeg_resync_to_restart

by Juan D.Velasquez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for replying, Brian. Indeed, I was running from where I built  
player.
Running from /usr/local/share/player/examples/libplayerc++ works!

Thanks,

--J

On Apr 11, 2007, at 8:18 PM, Brian Gerkey wrote:

> Are you running from where you built player?  I usually find that
> after a 'make install,' this problem goes away.
>
> (but it's frustrating, regardless)
>
> brian.
>
> On Apr 12, 2007, at 2:13 AM, Juan D. Velasquez wrote:
>
>> Thanks, Nathan. I had tried that before (and just to double-check I
>> just tried it again), but it does not solve the error. Weird, huh?
>>
>> --J
>>
>>
>> On Apr 11, 2007, at 7:36 PM, Nathan Michael wrote:
>>
>>> Do you have your environment variable:
>>>
>>> DYLD_FALLBACK_LIBRARY_PATH
>>>
>>> set properly?
>>>
>>> Put this lines in your ~/.profile
>>>
>>> export DYLD_FALLBACK_LIBRARY_PATH=/sw/lib:
>>> $DYLD_FALLBACK_LIBRARY_PATH
>>>
>>> That should fix it.
>>>
>>> Nathan
>>>
>>> On Apr 11, 2007, at 6:49 PM, Juan D. Velasquez wrote:
>>>
>>>> I managed to install Player/Stage (and Gazebo) under Mac OS X
>>>> (10.4.9) and I can run all examples in Gazebo and Stage.
>>>> However, I cannot run the examples that are part of /player-2.0 .3/
>>>> examples/libplayerc++ while attempting to run a robot
>>>> autonomously in
>>>> player/stage, because I get the following error:
>>>>
>>>> dyld: Symbol not found: __cg_jpeg_resync_to_restart
>>>> Referenced from:
>>>>
>>>> /System/Library/Frameworks/ApplicationServices.framework/
>>>> Versions/A/
>>>> Frameworks/ImageIO.framework/Versions/A/ImageIO
>>>> Expected in: /sw/lib/libJPEG.dylib
>>>>
>>>> Trace/BPT trap
>>>>
>>>>
>>>> Apparently this is a problem with inconsistencies due to multiple
>>>> versions of the libjpeg.dylib (and libJPEG.dylib) libraries that
>>>> exist in both fink and OS X (Tiger) in /sw/lib/libjpeg.dylib and
>>>> System/Library/Frameworks/ApplicationServices.framework/Versions/A/
>>>> Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
>>>> respectively.
>>>>
>>>> I saw a similar post in the playerstage-users archive, however the
>>>> solution of removing the symbolic links in /sw/lib for  
>>>> libjpeg.dylib
>>>> does not work for me as I would not be able to build player again
>>>> and
>>>> besides, this would mean that other apps requiring fink's
>>>> libjpeg.dylib with have issues too.
>>>>
>>>> Has anybody come across this issue? Any ideas how to resolve it?
>>>>
>>>> Thanks,
>>>>
>>>> --Juan
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------------------
>>>> -
>>>> -
>>>> -
>>>> ---
>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>> Join SourceForge.net's Techsay panel and you'll get the chance to
>>>> share your
>>>> opinions on IT & business topics through brief surveys-and earn  
>>>> cash
>>>> http://www.techsay.com/default.php?
>>>> page=join.php&p=sourceforge&CID=DEVDEV
>>>> _______________________________________________
>>>> Playerstage-gazebo mailing list
>>>> Playerstage-gazebo@...
>>>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>>
>>>
>>> --------------------------------------------------------------------
>>> -
>>> -
>>> ---
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to
>>> share your
>>> opinions on IT & business topics through brief surveys-and earn cash
>>> http://www.techsay.com/default.php?
>>> page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> Playerstage-gazebo mailing list
>>> Playerstage-gazebo@...
>>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>
>>
>> ---------------------------------------------------------------------
>> -
>> ---
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share your
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php?
>> page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Playerstage-gazebo mailing list
>> Playerstage-gazebo@...
>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
>
> ----------------------------------------------------------------------
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Playerstage-gazebo mailing list
> Playerstage-gazebo@...
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@...
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Re: dyld: Symbol not found: __cg_jpeg_resync_to_restart

by Brian Gerkey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Apr 12, 2007, at 2:36 AM, Juan D. Velasquez wrote:

> Thanks for replying, Brian. Indeed, I was running from where I built
> player.
> Running from /usr/local/share/player/examples/libplayerc++ works!
>

Can anyone explain why this problem occurs, or why running from the  
installation directory instead of the build directory works?

        brian.

> On Apr 11, 2007, at 8:18 PM, Brian Gerkey wrote:
>
>> Are you running from where you built player?  I usually find that
>> after a 'make install,' this problem goes away.
>>
>> (but it's frustrating, regardless)
>>
>> brian.
>>
>> On Apr 12, 2007, at 2:13 AM, Juan D. Velasquez wrote:
>>
>>> Thanks, Nathan. I had tried that before (and just to double-check I
>>> just tried it again), but it does not solve the error. Weird, huh?
>>>
>>> --J
>>>
>>>
>>> On Apr 11, 2007, at 7:36 PM, Nathan Michael wrote:
>>>
>>>> Do you have your environment variable:
>>>>
>>>> DYLD_FALLBACK_LIBRARY_PATH
>>>>
>>>> set properly?
>>>>
>>>> Put this lines in your ~/.profile
>>>>
>>>> export DYLD_FALLBACK_LIBRARY_PATH=/sw/lib:
>>>> $DYLD_FALLBACK_LIBRARY_PATH
>>>>
>>>> That should fix it.
>>>>
>>>> Nathan
>>>>
>>>> On Apr 11, 2007, at 6:49 PM, Juan D. Velasquez wrote:
>>>>
>>>>> I managed to install Player/Stage (and Gazebo) under Mac OS X
>>>>> (10.4.9) and I can run all examples in Gazebo and Stage.
>>>>> However, I cannot run the examples that are part of /
>>>>> player-2.0 .3/
>>>>> examples/libplayerc++ while attempting to run a robot
>>>>> autonomously in
>>>>> player/stage, because I get the following error:
>>>>>
>>>>> dyld: Symbol not found: __cg_jpeg_resync_to_restart
>>>>> Referenced from:
>>>>>
>>>>> /System/Library/Frameworks/ApplicationServices.framework/
>>>>> Versions/A/
>>>>> Frameworks/ImageIO.framework/Versions/A/ImageIO
>>>>> Expected in: /sw/lib/libJPEG.dylib
>>>>>
>>>>> Trace/BPT trap
>>>>>
>>>>>
>>>>> Apparently this is a problem with inconsistencies due to multiple
>>>>> versions of the libjpeg.dylib (and libJPEG.dylib) libraries that
>>>>> exist in both fink and OS X (Tiger) in /sw/lib/libjpeg.dylib and
>>>>> System/Library/Frameworks/ApplicationServices.framework/
>>>>> Versions/A/
>>>>> Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
>>>>> respectively.
>>>>>
>>>>> I saw a similar post in the playerstage-users archive, however the
>>>>> solution of removing the symbolic links in /sw/lib for
>>>>> libjpeg.dylib
>>>>> does not work for me as I would not be able to build player again
>>>>> and
>>>>> besides, this would mean that other apps requiring fink's
>>>>> libjpeg.dylib with have issues too.
>>>>>
>>>>> Has anybody come across this issue? Any ideas how to resolve it?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> --Juan
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------
>>>>> -
>>>>> -
>>>>> -
>>>>> -
>>>>> ---
>>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>>> Join SourceForge.net's Techsay panel and you'll get the chance to
>>>>> share your
>>>>> opinions on IT & business topics through brief surveys-and earn
>>>>> cash
>>>>> http://www.techsay.com/default.php?
>>>>> page=join.php&p=sourceforge&CID=DEVDEV
>>>>> _______________________________________________
>>>>> Playerstage-gazebo mailing list
>>>>> Playerstage-gazebo@...
>>>>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>>>
>>>>
>>>> -------------------------------------------------------------------
>>>> -
>>>> -
>>>> -
>>>> ---
>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>> Join SourceForge.net's Techsay panel and you'll get the chance to
>>>> share your
>>>> opinions on IT & business topics through brief surveys-and earn  
>>>> cash
>>>> http://www.techsay.com/default.php?
>>>> page=join.php&p=sourceforge&CID=DEVDEV
>>>> _______________________________________________
>>>> Playerstage-gazebo mailing list
>>>> Playerstage-gazebo@...
>>>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>>
>>>
>>> --------------------------------------------------------------------
>>> -
>>> -
>>> ---
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to
>>> share your
>>> opinions on IT & business topics through brief surveys-and earn cash
>>> http://www.techsay.com/default.php?
>>> page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> Playerstage-gazebo mailing list
>>> Playerstage-gazebo@...
>>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>
>>
>> ---------------------------------------------------------------------
>> -
>> ---
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share your
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php?
>> page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Playerstage-gazebo mailing list
>> Playerstage-gazebo@...
>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
>
> ----------------------------------------------------------------------
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Playerstage-gazebo mailing list
> Playerstage-gazebo@...
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@...
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Re: dyld: Symbol not found: __cg_jpeg_resync_to_restart

by smcguffee :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I was having the same problem. I don't completely understand why the problem happens, but the way to fix it is to look in the framework library ( find Frameworks/ImageIO.framework/ -name libJPEG.dylib) and link that specific library to the location where it looks. You can use the *LD* variables to control where it looks. I'm not sure what the proper setup is or how these things get messed up. It's just a problem that will always exist as long as people writing computer programs and operating systems remain set in their ways on allowing non-statically linked programs. This idiocracy becomes even more frustrating when the code that makes dumb references is proprietary and not available to be changed.



Brian Gerkey wrote:
On Apr 12, 2007, at 2:36 AM, Juan D. Velasquez wrote:

> Thanks for replying, Brian. Indeed, I was running from where I built
> player.
> Running from /usr/local/share/player/examples/libplayerc++ works!
>

Can anyone explain why this problem occurs, or why running from the  
installation directory instead of the build directory works?

        brian.

> On Apr 11, 2007, at 8:18 PM, Brian Gerkey wrote:
>
>> Are you running from where you built player?  I usually find that
>> after a 'make install,' this problem goes away.
>>
>> (but it's frustrating, regardless)
>>
>> brian.
>>
>> On Apr 12, 2007, at 2:13 AM, Juan D. Velasquez wrote:
>>
>>> Thanks, Nathan. I had tried that before (and just to double-check I
>>> just tried it again), but it does not solve the error. Weird, huh?
>>>
>>> --J
>>>
>>>
>>> On Apr 11, 2007, at 7:36 PM, Nathan Michael wrote:
>>>
>>>> Do you have your environment variable:
>>>>
>>>> DYLD_FALLBACK_LIBRARY_PATH
>>>>
>>>> set properly?
>>>>
>>>> Put this lines in your ~/.profile
>>>>
>>>> export DYLD_FALLBACK_LIBRARY_PATH=/sw/lib:
>>>> $DYLD_FALLBACK_LIBRARY_PATH
>>>>
>>>> That should fix it.
>>>>
>>>> Nathan
>>>>
>>>> On Apr 11, 2007, at 6:49 PM, Juan D. Velasquez wrote:
>>>>
>>>>> I managed to install Player/Stage (and Gazebo) under Mac OS X
>>>>> (10.4.9) and I can run all examples in Gazebo and Stage.
>>>>> However, I cannot run the examples that are part of /
>>>>> player-2.0 .3/
>>>>> examples/libplayerc++ while attempting to run a robot
>>>>> autonomously in
>>>>> player/stage, because I get the following error:
>>>>>
>>>>> dyld: Symbol not found: __cg_jpeg_resync_to_restart
>>>>> Referenced from:
>>>>>
>>>>> /System/Library/Frameworks/ApplicationServices.framework/
>>>>> Versions/A/
>>>>> Frameworks/ImageIO.framework/Versions/A/ImageIO
>>>>> Expected in: /sw/lib/libJPEG.dylib
>>>>>
>>>>> Trace/BPT trap
>>>>>
>>>>>
>>>>> Apparently this is a problem with inconsistencies due to multiple
>>>>> versions of the libjpeg.dylib (and libJPEG.dylib) libraries that
>>>>> exist in both fink and OS X (Tiger) in /sw/lib/libjpeg.dylib and
>>>>> System/Library/Frameworks/ApplicationServices.framework/
>>>>> Versions/A/
>>>>> Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
>>>>> respectively.
>>>>>
>>>>> I saw a similar post in the playerstage-users archive, however the
>>>>> solution of removing the symbolic links in /sw/lib for
>>>>> libjpeg.dylib
>>>>> does not work for me as I would not be able to build player again
>>>>> and
>>>>> besides, this would mean that other apps requiring fink's
>>>>> libjpeg.dylib with have issues too.
>>>>>
>>>>> Has anybody come across this issue? Any ideas how to resolve it?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> --Juan
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------
>>>>> -
>>>>> -
>>>>> -
>>>>> -
>>>>> ---
>>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>>> Join SourceForge.net's Techsay panel and you'll get the chance to
>>>>> share your
>>>>> opinions on IT & business topics through brief surveys-and earn
>>>>> cash
>>>>> http://www.techsay.com/default.php?
>>>>> page=join.php&p=sourceforge&CID=DEVDEV
>>>>> _______________________________________________
>>>>> Playerstage-gazebo mailing list
>>>>> Playerstage-gazebo@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>>>
>>>>
>>>> -------------------------------------------------------------------
>>>> -
>>>> -
>>>> -
>>>> ---
>>>> Take Surveys. Earn Cash. Influence the Future of IT
>>>> Join SourceForge.net's Techsay panel and you'll get the chance to
>>>> share your
>>>> opinions on IT & business topics through brief surveys-and earn  
>>>> cash
>>>> http://www.techsay.com/default.php?
>>>> page=join.php&p=sourceforge&CID=DEVDEV
>>>> _______________________________________________
>>>> Playerstage-gazebo mailing list
>>>> Playerstage-gazebo@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>>
>>>
>>> --------------------------------------------------------------------
>>> -
>>> -
>>> ---
>>> Take Surveys. Earn Cash. Influence the Future of IT
>>> Join SourceForge.net's Techsay panel and you'll get the chance to
>>> share your
>>> opinions on IT & business topics through brief surveys-and earn cash
>>> http://www.techsay.com/default.php?
>>> page=join.php&p=sourceforge&CID=DEVDEV
>>> _______________________________________________
>>> Playerstage-gazebo mailing list
>>> Playerstage-gazebo@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>>
>>
>> ---------------------------------------------------------------------
>> -
>> ---
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to
>> share your
>> opinions on IT & business topics through brief surveys-and earn cash
>> http://www.techsay.com/default.php?
>> page=join.php&p=sourceforge&CID=DEVDEV
>> _______________________________________________
>> Playerstage-gazebo mailing list
>> Playerstage-gazebo@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo
>
>
> ----------------------------------------------------------------------
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Playerstage-gazebo mailing list
> Playerstage-gazebo@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Playerstage-gazebo mailing list
Playerstage-gazebo@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo