Skip site navigation (1) Skip section navigation (2)

9.0Alpha4: openSolaris x86 snv_134: errors linking to libs in /usr/local

From: Lou Picciano <loupicciano(at)comcast(dot)net>
To: pgsql-testers <pgsql-testers(at)postgresql(dot)org>
Subject: 9.0Alpha4: openSolaris x86 snv_134: errors linking to libs in /usr/local
Date: 2010-03-28 20:58:57
Message-ID: 1941231351.7086251269809937413.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net (view raw or flat)
Thread:
Lists: pgsql-testers



[TEST REPORT] 

[Release]: 9.0Alpha4 

[Test Type]: Build - with OpenSSL libs in /usr/local 

[Test]: Attempt to build with library packages installed in /usr/local; eg: /usr/local/ssl 

[Platform]: openSolaris x86 snv_134 (current as of 2010 Mar 28), Intel Quad Core 64-bit 

[Parameters]: 

Various SunFreeware packages are in /usr/local/... eg: openssl-0.9.8n 




# su root 

# export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin 




Invoking either of these configure statements: 

# ./configure \ 

--with-libs=/usr/local/ssl/lib:/usr/local/lib \ 

--with-includes=/usr/local/ssl/include:/usr/local/ssl/include/openssl:/usr/local/include \ 

--with-openssl 




- OR - 






# ./configure \ 

LDFLAGS='-L/usr/local/ssl/lib -L/usr/local/lib' \ 

CPPFLAGS='-I/usr/local/ssl/include -I/usr/local/ssl/include/openssl -I/usr/local/include' \ 

--with-openssl 






OUTPUT of configure: 

... DOES find bison ================================================================================== 

checking for bison... /usr/local/bin/bison 

configure: using bison (GNU Bison) 2.4.2 

... but DOES NOT find /usr/local/bin/flex =================================================================== 

checking for flex... no 

... (However, were able to set FLEX=/usr/local/bin/flex) ======================================================== 

... and DOES find perl ================================================================================ 

checking for perl... /usr/local/bin/perl 

configure: using perl 5.8.8 

... and DOES apprently set FLAGS ======================================================================= 

configure: using CPPFLAGS= -I/usr/local/ssl/include -I/usr/local/ssl/include/openssl -I/usr/local/include 

configure: using LDFLAGS= -L/usr/local/ssl/lib -L/usr/local/lib 




[Failure]: Looks like a compile/build error. Unable to link to specific libraries in /usr/local. 

[Results]: 



# make 

# ldd src/backend/postgres 

libssl.so.0.9.8 => /lib/libssl.so.0.9.8 

libcrypto.so.0.9.8 => /lib/libcrypto.so.0.9.8 



[Comments]: Configure/Compile/Link seems to locate various utilities and libraries in /usr/local _variably_. 

Responses

pgsql-testers by date

Next:From: Zdenek KotalaDate: 2010-03-29 08:03:54
Subject: Re: PostgreSQL 9.0alpha4: openSolaris 10 x86 snv_134: configure issues: C compiler cannot create executables
Previous:From: Lou PiccianoDate: 2010-03-28 20:58:02
Subject: Re: [Fwd: Re: [Fwd: PostgreSQL 9.0alpha4: openSolaris 10 x86 snv_134: configure issues: C compiler cannot create executables]]

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group