Re: [Evolution-hackers] Link problem with e-d-s (libcamel-provider-1.2.so.6.0.0)



On Mon, 2005-08-01 at 11:51 +0200, Jules Colding wrote:
> Hi,
> 
> I am having a strange problem while linking e-d-s. It claims that it
> can't find libcamel-provider-1.2.so.6.0.0, but that file is
> in /home/evo/opt/lib. 
> 
> What have I done wrong?
> 
> Thanks,
>   jules
> 
> ----------------------------------------------------------------------
>  /bin/sh ../libtool --mode=install /usr/bin/install -c  libcamel-provider-1.2.la /home/evo/opt/lib/libcamel-provider-1.2.la
> libtool: install: warning: relinking `libcamel-provider-1.2.la'
> (cd /home/evo/work/src/evolution-data-server/camel; /bin/sh ../libtool  --mode=relink gcc -g -O2 -Wall -Wmissing-prototypes -Wno-sign-compare -o libcamel-provider-1.2.la -rpath /home/evo/opt/lib -version-info 6:0:0 camel-cipher-context.lo camel-digest-folder.lo camel-digest-store.lo camel-digest-summary.lo camel-disco-diary.lo camel-disco-folder.lo camel-disco-store.lo camel-filter-driver.lo camel-filter-search.lo camel-folder-search.lo camel-folder-summary.lo camel-folder-thread.lo camel-folder.lo camel-gpg-context.lo camel-http-stream.lo camel-movemail.lo camel-offline-folder.lo camel-offline-journal.lo camel-offline-store.lo camel-provider.lo camel-sasl-anonymous.lo camel-sasl-cram-md5.lo camel-sasl-digest-md5.lo camel-sasl-gssapi.lo camel-sasl-kerberos4.lo camel-sasl-login.lo camel-sasl-ntlm.lo camel-sasl-plain.lo camel-sasl-popb4smtp.lo camel-sasl.lo camel-search-private.lo camel-service.lo camel-session.lo camel-smime-context.lo camel-store-summary.lo camel-store.lo camel-tcp-stream-openssl.lo camel-tcp-stream-raw.lo camel-tcp-stream-ssl.lo camel-tcp-stream.lo camel-transport.lo camel-uid-cache.lo camel-vee-folder.lo camel-vee-store.lo camel-vee-summary.lo camel-vtrash-folder.lo ../libedataserver/libedataserver-1.2.la libcamel-1.2.la -pthread -Wl,--export-dynamic -L/usr/lib64 -lgthread-2.0 -lgmodule-2.0 -ldl -lgobject-2.0 -lglib-2.0 -lz -lpthread )
> mv: cannot stat `libcamel-provider-1.2.so.6.0.0': No such file or directory
> libtool: install: error: relink `libcamel-provider-1.2.la' with the above command before installing it
> make[3]: *** [install-libLTLIBRARIES] Error 1
> make[3]: Leaving directory `/home/evo/work/src/evolution-data-server/camel'
> make[2]: *** [install-am] Error 2
> make[2]: Leaving directory `/home/evo/work/src/evolution-data-server/camel'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/evo/work/src/evolution-data-server/camel'
> make: *** [install-recursive] Error 1

This is now fixed. The way I did it was to change references in my
configure command from $HOME into an absolute path. I was doing:

PKG_CONFIG_PATH=$HOME/opt/lib/pkgconfig/ ./autogen.sh --prefix=$HOME/opt
--with-openldap=yes --with-exchange=yes --with-nspr-libs=/usr/lib64/nspr

which wasn't working. I then did:

PKG_CONFIG_PATH=/home/evo/opt/lib/pkgconfig/ ./autogen.sh
--prefix=/home/evo/opt --with-openldap=yes --with-exchange=yes
--with-nspr-libs=/usr/lib64/nspr

which did work.

-- 
  jules




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