# # SCO Unix dynamic linker error
APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

OSR5 FAQ

I've removed advertising from most of this site and will eventually clean up the few pages where it remains.

While not terribly expensive to maintain, this does cost me something. If I don't get enough donations to cover that expense, I will be shutting the site down in early 2020.

If you found something useful today, please consider a small donation.



Some material is very old and may be incorrect today

© December 2003 (various)

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 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.

Why do I get "dynamic linker" errors or load failures (Old Sco Unix)?

If you get an error like the following.


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 <[email protected]> 
ZENEZ   3748 Valley Forge Road, Magna Utah  84044
Office 801-250-0795 FAX 801-250-7975

Thanks to: Boyd Lynn Gerber <[email protected]>

If you found something useful today, please consider a small donation.



Got something to add? Send me email.





(OLDER)    <- More Stuff -> (NEWER)    (NEWEST)   

Printer Friendly Version

->
-> SCO Unix dynamic linker error


Inexpensive and informative Apple related e-books:

Take Control of Pages

Take Control of Numbers

Photos: A Take Control Crash Course

Photos for Mac: A Take Control Crash Course

iOS 10: A Take Control Crash Course






Printer Friendly Version

Have you tried Searching this site?

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.

Contact us


Printer Friendly Version





Technology is anything that wasn’t around when you were born. (Alan Kay)




Linux posts

Troubleshooting posts


This post tagged:

FAQ

SCO_OSR5



Unix/Linux Consultants

Skills Tests

Unix/Linux Book Reviews

My Unix/Linux Troubleshooting Book

This site runs on Linode