Skip to main content.
home | support | download

Back to List Archive

Re: make error - undefined symbol vsnprint

From: Don <don(at)>
Date: Tue May 14 2002 - 17:56:04 GMT
I did install this library, it is available here;

and here;


I have placed snprintf.o and in /usr/local/lib.
I have used ./configure --libdir=/usr/local/lib and setenv
LD_LIBRARY_PATH=/usr/local/lib, and a few other attempts as well.
Still make reports undefined symbol.  

Any more ideas?



-----Original Message-----
[]On Behalf Of Bill Moseley
Sent: Monday, May 13, 2002 6:14 PM
To: Multiple recipients of list
Subject: [SWISH-E] Re: make error - undefined symbol vsnprint

At 01:51 PM 05/13/02 -0700, Don wrote:
>I am using;
>SunOS 5.5.1 Generic_103640-37 sun4u sparc SUNW,Ultra-Enterprise

I thought 5.6 was old? ;)

>Undefined                       first referenced
> symbol                             in file
>vsnprintf                           libswish-e.a(error.o)

Looks like you need to install a library that includes snprintf.  I'm not
sure if there's an official way to do that with Sun, of if you can just
grab one and build it.  On sunos 5.6 I see the function is available.

This came up a few days ago where adding -ldb added vsnprintf function.
The swish distribution contain the code which is uses when building for
VMS.  Swish's configure script needs to check for that function and build
the library if needed, I suppose.  Any autoconf experts around?

Bill Moseley
Received on Tue May 14 18:01:05 2002