Re: $ORIGIN problem in freebsd 6.2

2008-08-14 Thread Chuck Swiger

Bonjour--

On Aug 14, 2008, at 3:03 PM, Oancea Ionut-Francisc wrote:
  Is here another solution to set up the search path to the same  
dir with the executable?...or I must to update my /libexec/ld-elf.so. 
1 and my 'ld' utility(the version of ld is 2.15)


It's likely that "man ldconfig" or setting $LD_LIBRARY_PATH env  
variable can resolve your missing shared libraries...


Regards,
--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


$ORIGIN problem in freebsd 6.2

2008-08-14 Thread Oancea Ionut-Francisc
Hi all,

     I have a problem with the runtime library linking on freebsd6.2_ix86... My 
executable file is linked to the others shared libraries (on compile time) and 
for the runtime, rpath was set to $ORIGIN( i checked this and with 'readelf' 
utility). Now, the issue is why, when i try to run my executable, the shared 
libraries cannot be found although all needed libraries are in the same path to 
the executable?The same thing result and after running 'ldd myexecutable' 
command, none library is find... I realize that the $ORIGIN variable is ignored 
or unknown after I change the rpath with the entire path to the shared 
libraries and then everything goes properly.
  Is here another solution to set up the search path to the same dir with 
the executable?...or I must to update my /libexec/ld-elf.so.1 and my 'ld' 
utility(the version of ld is 2.15)


Thanks




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"