On 10/21/2013 10:26 AM, Pavlo Lavrenenko wrote:
On 10/21/2013 05:01 PM, Curtis Maurand wrote:
I'm in libzdb hell trying to get dbmail to either install or compile
on Ubuntu
12.04 LTS. The current libzdb is 8. The current libmysqlclient is
libmysqlclient18 while dbmail is looking for libzdb7 and
libmysqlclient16. So
now I'm going around in circles because if I install one, it breaks
the other.
If I install libzdb8, configure is successful, but I get:
/usr/lib/libzdb.so: could not read symbols: File in wrong format
upon compilation.
Lets investigate step-by-step. I an currently at:
Distributor ID: Ubuntu
Description: Ubuntu 12.04.3 LTS
Release: 12.04
Codename: precise
And I see neither libzdb nor dbmail in it's repository. I assume you
are trying to install them from some PPA, right? Can you please post
the links to the PPAs you are using?
JFI: pure compilation from sources works like a charm. I have
libzdb-2.11.2 installed into /opt and experience no issues compiling
latest master
I have tried using the libzdb from
https://launchpad.net/~leonelnunez/+archive/ppa/+build/3726156
I installed both of those libraries.
sudo configure --prefix=/usr --with-mysql works fine.
sudo make clean && make all does not.I get the error that I mentioned.
then I tried to add the debian.nfgd.net/debian unstable main to the
sources.list install the libzdb things and I get the libmysqlclient
version error.
ibtool: link: gcc -shared -fPIC -DPIC .libs/authsql.o -lgmodule-2.0
-lgthread-2.0 -lrt -lgmime-2.6 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lm
/usr/lib/libmhash.so -levent_pthreads -levent -lssl /usr/lib/libzdb.so
-O2 -pthread -pthread -Wl,--export-dynamic -pthread -pthread
-Wl,-soname -Wl,libauth_sql.so.0 -o .libs/libauth_sql.so.0.0.0
/usr/lib/libzdb.so: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[3]: *** [libauth_sql.la] Error 1
make[3]: Leaving directory `/home/cmaurand/dbmail-3.1.7/src/modules'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/cmaurand/dbmail-3.1.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cmaurand/dbmail-3.1.7'
make: *** [all] Error 2
_______________________________________________
DBmail mailing list
DBmail@dbmail.org
http://mailman.fastxs.nl/cgi-bin/mailman/listinfo/dbmail