Re: [Evolution-hackers] looking for a bit of help with a build failure



On Fri, 2014-05-02 at 14:59 +0200, Milan Crha wrote:
On Tue, 2014-04-22 at 13:11 +0000, Reid Thompson wrote:
[08:50:03][0s] rthompso raker3> ~/evogit/obj/evolution
$ pkg-config --libs libedataserver-1.2
-ledataserver-1.2 -Wl,--export-dynamic -lgmodule-2.0 -pthread
-L/opt/evo/lib -lcamel-1.2 -lsqlite3 -lssl3 -lsmime3 -lnss3 -lnssutil3
-lplds4 -lplc4 -lnspr4 -lsecret-1 -lxml2 -lsoup-2.4 -lgio-2.0
-lgobject-2.0 -lglib-2.0  


      Hi,
I'm sorry for a late response, I did tend to forget of this due to other
issues which I tried to address.

Anyway, I checked my .pc files in $PREFIX/lib/pkgconfig and all of them,
if they define "Libs", use -L as the first parameter, thus this should
work for sure.

Could you check the .pc files content too, please?

My output of the same command looks like that yours, only the -L is
really as the first argument.

EVOLUTION_DATA_SERVER_LIBS = -lebook-1.2 -ledata-book-1.2
-lebook-contacts-1.2 -lecal-1.2 -L/usr/lib -lical -licalss -licalvcal
-lpthread -lebackend-1.2 -ledataserver-1.2 -Wl,--export-dynamic
-lgmodule-2.0 -pthread -L/opt/evo/lib -lcamel-1.2 -lsqlite3 -lssl3
-lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lsecret-1 -lxml2
-lsoup-2.4 -lgio-2.0 -lgobject-2.0 -lglib-2.0

This is odd, though it corresponds to the output fo the 'pkg-config
--libs' command, at least on your machine.
      Bye,
      Milan

_______________________________________________
evolution-hackers mailing list
evolution-hackers gnome org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-hackers

$ cat /opt/evo/lib/pkgconfig/libedataserver-1.2.pc 
prefix=/opt/evo
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
datarootdir=${prefix}/share
datadir=${datarootdir}

privincludedir=${includedir}/evolution-data-server

Name: libedataserver
Description: Utility library for Evolution Data Server
Version: 3.13.1
Requires: gio-2.0 gmodule-2.0 camel-1.2 libsecret-1 libxml-2.0
libsoup-2.4
Libs: -L${libdir} -ledataserver-1.2
Cflags: -I${privincludedir}



$ env |egrep "PKG|LD"
LD_LIBRARY_PATH=/opt/evo/lib
PKG_CONFIG_PATH=/opt/evo/lib/pkgconfig/

$ pkg-config -version
0.28

$ pkg-config --libs libedataserver-1.2
-ledataserver-1.2 -Wl,--export-dynamic -lgmodule-2.0 -pthread -L/opt/evo/lib -lcamel-1.2 -lsqlite3 -lssl3 
-lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lsecret-1 -lxml2 -lsoup-2.4 -lgio-2.0 -lgobject-2.0 
-lglib-2.0  

$ pkg-config --cflags libedataserver-1.2
-I/opt/evo/include/evolution-data-server -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libsecret-1 
-I/usr/include/libsoup-2.4 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-I/usr/include/libxml2  






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