[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compilation of the smsd daemon
From: |
Jan Derfinak |
Subject: |
Re: Compilation of the smsd daemon |
Date: |
Thu, 2 Mar 2006 01:56:34 +0100 (CET) |
On Sat, 25 Feb 2006, Zdeněk Habala wrote:
> -export-dynamic -avoid-version -rpath /usr/local/lib/smsd gcc -shared
> .libs/pq.o -Wl,--rpath -Wl,/usr/local/src/gnokii-0.6.11/smsd/.libs
> -Wl,--rpath -Wl,/usr/local/lib/smsd -lglib-2.0 -L/usr/lib
> /usr/local/src/gnokii-0.6.11/smsd/.libs/libpq.so -Wl,-soname -Wl,libpq.so
> -o .libs/libpq.so
> gcc: /usr/local/src/gnokii-0.6.11/smsd/.libs/libpq.so: No such file or
> directory
> make: *** [libpq.la] Error 1
Your output is terrible formated.
The last invocation of gcc is with wrong arguments. Instead of postgresql
library you link against smsd pq library
/usr/local/src/gnokii-0.6.11/smsd/.libs/libpq.so
The right line should look like this one:
gcc -shared .libs/pq.o -L/opt/gnome/lib64 /opt/gnome/lib64/libglib-2.0.so
-L/usr/lib64 -lpq -Wl,-soname -Wl,libpq.so -o .libs/libpq.so
jan
- Re: Compilation of the smsd daemon,
Jan Derfinak <=