A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=267 
====================================================================== 
Reported By:                gerwe144
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   267
Category:                   installation scripts
Reproducibility:            always
Severity:                   block
Priority:                   low
Status:                     feedback
====================================================================== 
Date Submitted:             12-Sep-05 10:29 CEST
Last Modified:              20-Oct-05 16:13 CEST
====================================================================== 
Summary:                    cannot find: -lpq
Description: 
after the command "configure --with-pgsql" and make all I get a message
error: gcc -shared  .libs/config.o .libs/debug.o .libs/list.o
.libs/dbmd5.o .libs/md5.o .libs/db.o .libs/misc.o .libs/mime.o
.libs/pidfile.o .libs/server.o .libs/serverchild.o .libs/pool.o
.libs/header.o .libs/pipe.o .libs/forward.o .libs/dsn.o  -Wl,--rpath
-Wl,/vicepc/mailserver/dbmail-2.0.7/pgsql/.libs -Wl,--rpath
-Wl,/vicepc/mailserver/dbmail-2.0.7/sort/.libs -Wl,--rpath
-Wl,/vicepc/mailserver/dbmail-2.0.7/auth/.libs -Wl,--rpath
-Wl,/usr/local/lib/dbmail pgsql/.libs/libpgsqldbmail.so
sort/.libs/libsortdbmail.so auth/.libs/libauthdbmail.so -L/usr/lib -lpq 
-Wl,-soname -Wl,libdbmail.so.0 -o .libs/libdbmail.so.0.0.0
/usr/bin/ld: cannot find -lpq
collect2: ld returned 1 exit status
make[2]: *** [libdbmail.la] Error 1
make[2]: Leaving directory `/vicepc/mailserver/dbmail-2.0.7'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/vicepc/mailserver/dbmail-2.0.7'
make: *** [all-recursive-am] Error 2

within version 2.1.2 the same error appears, but sooner: 
gcc -shared  .libs/dbpgsql.o  -lgmime-2.0 -lz -lnsl -lgobject-2.0
-lglib-2.0 -L/usr/lib -lpq  -Wl,-soname -Wl,libsqldbmail.so.0 -o
.libs/libsqldbmail.so.0.0.0
/usr/bin/ld: cannot find -lpq
collect2: ld returned 1 exit status
make[2]: *** [libsqldbmail.la] Error 1
make[2]: Leaving directory `/vicepc/mailserver/dbmail-2.1.2/pgsql'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/vicepc/mailserver/dbmail-2.1.2'
make: *** [all-recursive-am] Error 2

====================================================================== 

---------------------------------------------------------------------- 
 gerwe144 - 12-Sep-05 10:39  
---------------------------------------------------------------------- 
I'm running Postgresql 8.0.3 instead of 7.4.5 

---------------------------------------------------------------------- 
 paul - 12-Sep-05 12:31  
---------------------------------------------------------------------- 
I build against postgresql 8 all the time.

What does 'pg_config --libdir' say? 

---------------------------------------------------------------------- 
 paul - 01-Oct-05 10:59  
---------------------------------------------------------------------- 
I'm downgrading this issue's priority due to lack of feedback. 

---------------------------------------------------------------------- 
 gerwe144 - 20-Oct-05 16:13  
---------------------------------------------------------------------- 
Problem solved.
By reinstalling some lib and packages. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-Sep-05 10:29 gerwe144       New Issue                                    
12-Sep-05 10:29 gerwe144       File Added: cannotfind-lpq.txt                   

12-Sep-05 10:39 gerwe144       Note Added: 0000916                          
12-Sep-05 12:31 paul           Note Added: 0000917                          
01-Oct-05 10:59 paul           Note Added: 0000931                          
01-Oct-05 10:59 paul           Priority                 normal => low       
01-Oct-05 10:59 paul           Status                   new => feedback     
01-Oct-05 10:59 paul           Resolution               open => unable to
reproduce
20-Oct-05 16:13 gerwe144       Note Added: 0000945                          
======================================================================

Reply via email to