Originally posted by: SystemAdmin
Hi
I am having lots of trouble creating a shared library on AIX 5.2
I have three static libraries, with extension .a, which I am trying to create a shared library from using the 'ld' command.
I have read the 'AIX Linking and Loading Mechanisms' document and tried a command along the lines of:
ld -G -bnoentry -bnogc -bexpall -o output.so -L lib/dir/one -L lib/dir/two -L lib/dir/three -llib1 -llib2 -llib3 -lc
and this exits without any errors creating the output shared library. However, the shared library doesn't have any of the function interfaces that I am expecting (from the static libraries)...
Can anyone help me at all?
Thanks
Jon
#AIX-Forum