pspp-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: copious errors compiling on netbsd


From: Jason Stover
Subject: Re: copious errors compiling on netbsd
Date: Thu, 24 Apr 2008 19:13:41 -0400
User-agent: Mutt/1.5.10i

On Thu, Apr 24, 2008 at 02:50:26PM +0800, John Darrington wrote:
> On Wed, Apr 23, 2008 at 11:26:52PM -0400, Jason Stover wrote:
> 
>      > Interesting.  What do you get if you type "ncurses5-config --cflags" ?
>      
>      -I/usr/pkg/include -I/usr/pkg/include/ncurses
> 
> This confirms my opinion that your ncurses implementation is
> completely broken.

Agreed. I have posted about this on a help board, but I will have
to mention this to the admin directly.
>      
>      ld: warning: libz.so.0, needed by /usr/pkg/lib/libxml2.so, may conflict 
> with libz.so.1
>      ld: warning: libssl.so.2, needed by /usr/pkg/lib/libpq.so, not found 
> (try using -rpath or -rpath-link)
>      /usr/pkg/lib/libcrypto.so.1: warning: warning: reference to 
> compatibility times(); include <sys/times.h> for correct reference
>      /usr/pkg/lib/libpq.so: undefined reference to `SSL_set_ex_data'
>      /usr/pkg/lib/libpq.so: undefined reference to `SSL_set_fd'
>      /usr/pkg/lib/libpq.so: undefined reference to `SSL_CTX_free'
>      /usr/pkg/lib/libpq.so: undefined reference to `SSL_shutdown'
>      /usr/pkg/lib/libpq.so: undefined reference to `SSL_get_error'
>      
>      What does libpq do?
> 
> It enables the GET DATA /TYPE=PSQL command.
> 
> 
> Can you try the attached patch, and see what difference it makes.  It
> includes a --without-libncurses option.  Hopefully it will fix your
> libpq / libssl problem too.

It still breaks:

$ ./configure --prefix=$HOME --without-gui --without-libncurses
...
checking size of double... configure: error: cannot compute sizeof (double)
See `config.log' for more details.

The relevant section of config.log is:

configure:25173: gcc -std=gnu99 -o conftest -g -O2  -mieee 
-I/arpa/gm/j/jstover/include  conftest.c -lpq -lplot -
lm  >&5
ld: warning: libssl.so.2, needed by /sys/pkg/lib/libpq.so, not found (try using 
-rpath or -rpath-link)
/sys/pkg/lib/libcrypto.so.1: warning: warning: reference to compatibility 
times(); include <sys/times.h> for corr
ect reference
/sys/pkg/lib/libpq.so: undefined reference to `SSL_set_ex_data'
/sys/pkg/lib/libpq.so: undefined reference to `SSL_set_fd'

I think problem in the patch is here:

-AC_SEARCH_LIBS([PQexec], [pq], [libpq_in_std_lib_path=yes])
+AC_SEARCH_LIBS([PQexec], [pq], [libpq_in_std_lib_path=yes],,[-lssl])

libpq is in the standard location, but seems to broken in the same way
ncurses is broken.

Can you add a --without-libpq? (I'll try it on my machine, but I don't
know about m4 macros, so it will take me a while.)

-Jason




reply via email to

[Prev in Thread] Current Thread [Next in Thread]