You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm preparing a build of APBS 3.4.1 using FETK 1.9.3, building with the new shared library options to build against system shared libraries (libsuperlu.so etc).
The build seems to be successful, but there is something strange about the punc entry. Building components as shared libraries libmc.so, libpunc.so etc), ldd reports link status like this:
So libmc.so is confirmed as a shared library, while libpunc.so is indicated as static. But the build conditions for both components are essentially the same.
libpunc.so links only to punc_base.c.o (apart from libvf2c.so, libcgcode.so and external libraries). Inspecting the source in punc/src/base, there's only the dummy function punc_link(). In base/punc/punc.h, vf2c, vcgcode.h, vpmg.h are mentioned, but explicitly not used, with a hard coded if in place:
#if 0
#include <punc/vf2c.h>
#endif
So it looks as if punc is not actually doing anything. It's an empty component. The symbols list for libpunc.so is just
$ nm -D /usr/lib/x86_64-linux-gnu/libpunc.so
w __cxa_finalize
w __gmon_start__
w _ITM_deregisterTMCloneTable
w _ITM_registerTMCloneTable
0000000000001100 T punc_link
indicating only the dummy function punc_link.
In terms of the ldd reponse, I can reproduce the "statically linked" message with a trivial library linked only to external libraries, with no actual object file:
I'm preparing a build of APBS 3.4.1 using FETK 1.9.3, building with the new shared library options to build against system shared libraries (libsuperlu.so etc).
The build seems to be successful, but there is something strange about the punc entry. Building components as shared libraries libmc.so, libpunc.so etc), ldd reports link status like this:
while
So libmc.so is confirmed as a shared library, while libpunc.so is indicated as static. But the build conditions for both components are essentially the same.
libpunc.so links only to punc_base.c.o (apart from libvf2c.so, libcgcode.so and external libraries). Inspecting the source in punc/src/base, there's only the dummy function punc_link(). In base/punc/punc.h, vf2c, vcgcode.h, vpmg.h are mentioned, but explicitly not used, with a hard coded if in place:
So it looks as if punc is not actually doing anything. It's an empty component. The symbols list for libpunc.so is just
indicating only the dummy function punc_link.
In terms of the ldd reponse, I can reproduce the "statically linked" message with a trivial library linked only to external libraries, with no actual object file:
So it looks like ldd reports libpunc.so as "statically linked" since punc is effectively empty. Is this intended?
The text was updated successfully, but these errors were encountered: