Ottavio Campana <ottavio@xxxxxxxxxxxx> writes: > If I use nm, I see a lot of undefined symbols, such as > > nm -DC .libs/libgroupsock.so > U readSocket(UsageEnvironment&, int, unsigned char*, > unsigned int, sockaddr_in&) > But for example readSocket is implemented in > groupsock/GroupsockHelper.cpp . I don't think it's normal. > libtool: link: g++ -shared -nostdlib > /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/crti.o > /usr/lib/gcc/x86_64-linux-gnu/4.4.5/crtbeginS.o > .libs/libgroupsock_la-Groupsock.o .libs/libgroupsock_la-GroupEId.o > .libs/libgroupsock_la-IOHandlers.o > -L/usr/lib/gcc/x86_64-linux-gnu/4.4.5 > -L/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib -L/lib/../lib > -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../.. > -L/usr/lib/x86_64-linux-gnu -lstdc++ -lm -lc -lgcc_s > /usr/lib/gcc/x86_64-linux-gnu/4.4.5/crtendS.o > /usr/lib/gcc/x86_64-linux-gnu/4.4.5/../../../../lib/crtn.o > -Wl,-soname -Wl,libgroupsock.so.2009 -o .libs/libgroupsock.so.2009.2.9 The command which creates libgroupsock.so is not including GroupsockHelper, so it seems unsurprising that the .so does not define readSocket. Ian