Simpler Navigation coming for Servers and Operating Systems
Coming soon: a much simpler Servers and Operating Systems section of the Community. We will combine many of the older boards, and you won't have to click through so many levels to get at the information you need. If you are looking for an older board and do not find it, check the consolidated boards, as the posts are still there.
Showing results for 
Search instead for 
Did you mean: 

Unsatisfied symbol

Andy H
Occasional Contributor

Unsatisfied symbol

Running on HP11.11 and Informix 9.21 with sdk 2.8, tried to compile one of the demo programs in informix and get error:
/usr/ccs/bin/ld: Unsatisfied Symbols:

_sys_atexit (code)
A. Clay Stephenson
Acclaimed Contributor

Re: Unsatisfied symbol

You probably need to add libc.2 to your link list.

Here's the way you solve the general case for this problem.
cd /usr/lib
nm lib* > /tmp/liblist

You can then vi liblist and search for your missing symbol. When you find it, drive 'up' in the file until you see a line like 'Symbols from libxxx.1:' - that indicates the library that you need to include in the link (ld) command typically within your make file.
If it ain't broke, I can fix that.