[botan-devel] Sunstudio and undefined symbol

Jack Lloyd lloyd at randombit.net
Sat Apr 30 09:16:12 EDT 2011


On Fri, Apr 29, 2011 at 09:27:03AM -0500, Jeremy C. Reed wrote:
> This is with 1.8.11 on SunOS 5.10 Generic_118833-33 sun4u sparc 
> SUNW,Sun-Fire-V240 using Sunstudio CC: Sun C++ 5.10 SunOS_sparc 
> 2009/06/03.
> 
> $ /usr/bin/CC -g -library=stlport4 -features=tmplife 
> -features=tmplrefstatic -I/udir/jreed/opt/botan/include -D_XPG4_2 
> -D__EXTENSION -L/udir/jreed/opt/botan/lib -lbotan -lpthread botantest.cc 
> -lsocket -lnsl              

Try -lbotan on the command line after botantest.cc? Sun Studio may not
collect all the lib link lines after the source files as gcc
apparently does.

-Jack



More information about the botan-devel mailing list