In message <01013111255300.25603@boy> Pete Buechler wrote:
>
> There is an issue that when you run on the target, it will expect the 
> libraries to be in the same directory as they were on the development 
> system. You can get around this by defining LD_LIBRARY_PATH on the 
> target machine, or by creating a cache of the library locations in 
> /etc/ld.so.cache using the tool ldconfig.

...or by defining the runtime library path by passing  a  -R/lib_path
option  to  the linker (for gcc, you need something like "-Wl,-R/lib"
on the command line).

Any binary which needs LD_LIBRARY_PATH to be set is BROKEN.

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: [EMAIL PROTECTED]
Visit us at Embedded Systems: Feb 14-16 2001, Nuremberg, Halle 12/K01
(with TQ Components); our presentation "Starke Zwerge: Embedded Linux
auf PowerPC-Systemen" on Thursday, Feb 15 2001, 13:30 Forum Halle 11.

--
To unsubscribe from this list, send a message to [EMAIL PROTECTED]
with the command "unsubscribe linux-embedded" in the message body.
For more information, see <http://waste.org/mail/linux-embedded>.

Reply via email to