This article is from a FAQ concerning SCO operating systems. While some of the information may be applicable to any OS, or any Unix or Linux OS, it may be specific to SCO Xenix, Open Desktop or Openserver.

There is lots of Linux, Mac OS X and general Unix info elsewhere on this site: Search this site is the best way to find anything.

OSR5 FAQ

Why do I get "dynamic linker" errors or load failures?

If you get an error like the following.


Hate these ads?



dynamic linker: svrmgrl: error opening libprogram.so
Killed



install_driver(program) failed: Can't load



PERL_MODULE::program: dynamic linker: perl: relocation error: symbol not
found: getrusage at....


These messages all mean that you do not or have not setup LD_LIBRARY_PATH variable or Your Program isn't setting up LD_LIBRARY_PATH correctly, or your install of the program was faulty.






This can be solved by adding the shell variable LD_LIBRARY_PATH or LIBPATH with the proper search path. For example if you are using bourne or korn shell



LD_LIBRARY_PATH=/usr/lib:/lib:/usr/local/lib:/usr/ccs/lib:/usr/local/mysql/lib:/usr/local/BerkeleyDB.3.1/lib
LIBPATH=/usr/lib:/lib:/usr/local/lib:/usr/ccs/lib:
export LD_LIBRARY_PATH LIBPATH


From the man page on ld:



LD_LIBRARY_PATH is also used to specify library search directories to the
dynamic linker at run time. That is, if LD_LIBRARY_PATH exists in the
environment, the dynamic linker will search the directories it names
before its default directory for shared objects to be linked with the program
at execution.



--
Boyd Gerber <gerberb@zenez.com> 
ZENEZ   3748 Valley Forge Road, Magna Utah  84044
Office 801-250-0795 FAX 801-250-7975





Thanks to: Boyd Lynn Gerber <gerberb@zenez.com>



Comments /SCOFAQ/FAQ_scotec2sharedlib.html


Add your comments
cartoon
Forget the expense of flying to New England. Forget hotel and meals costs.
Installation and light training Boston and New England


Enter your email address for automatic notification of new posts here
(be sure to whitelist 'feedburner.com' if you use spam filtering)

Or use any RSS reader

Delivered by FeedBurner


ad

Views for this page
Today This Week This Month This Year  Overall
2251676 855

/SCOFAQ/FAQ_sharedlib.html copyright 1997-2003 (various) All Rights Reserved

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

More:
       - FAQ




Unix/Linux Consultants

Your ad here - $24.00 yearly!

http://www.vss3.com SCO/Caldera OpenServer, Unixware & Linux. Tarantella & Non-stop Clustering


http://bcstechnology.net Full service Linux & UNIX systems integrator; Windows to UNIX/Linux Client-Server Specialist; Secure E-Mail & Website Hosting; Thoroughbred Software Developer; Custom Industrial Automation; Hardware & Electronics Experts; In Business Since 1985.


http://www.cleverminds.net Need expert advice? Want a second opinion? CleverMinds is a one-stop-shop for a wide range of technology solutions. We support Unix, Linux, SCO as well as CMS, ecom, blogs, podcasts, search engines consulting and more. Contact us at web2.0@cleverminds.net 0r (617) 894-1282









Change Congress

Related Posts