Error running Make 1.37
Hello
I'll be behelf a Error on updating of 1.34 on 1.37
cd && wget https://bitbucket.org/jsuto/piler/downloads/piler-1.3.7.tar.gz
tar zxvf piler-1.3.7.tar.gz && cd piler-1.3.7
./configure --localstatedir=/var --with-database=mysql --enable-tcpwrappers
make
wrap -lnsl -L/usr/lib64/ -lmariadb -L.
/usr/bin/ld: /usr/lib64//libmariadb.a(mariadb_lib.c.o): undefined reference to symbol 'pthread_once@@GLIBC_2.2.5'
//usr/lib64/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[1]: *** [piler] Fehler 1
make[1]: Leaving directory `/root/piler-1.3.7/src'
make: *** [all-recursive] Fehler 1
Comments (11)
-
repo owner -
Account Deactivated reporter centos7
i managed to upgrade to 1.35 first without errors so next step is to try 1.37
-
repo owner So you can build piler 1.3.5, but you can’t build 1.3.7. Is that right?
-
Account Deactivated reporter yes that's true I just try ed again and the same error
gcc -shared -Wl,-soname,libpiler.so.0.1.1 -o libpiler.so.0.1.1 dirs.o base64.o misc.o counters.o cfg.o sig.o decoder.o hash.o parser.o parser_utils.o rules.o smtp.o session.o bdat.o message.o attachment.o digest.o store.o archive.o tai.o import.o import_maildir.o import_mailbox.o import_pop3.o import_imap.o imap.o pop3.o extract.o mydomains.o mysql.o
ln -sf libpiler.so.0.1.1 libpiler.so
ln -sf libpiler.so.0.1.1 libpiler.so.0
gcc -std=c99 -O2 -fPIC -Wall -Wextra -Wuninitialized -Wno-format-truncation -g -I. -I.. -I/usr/include/mysql -I/usr/include/mysql/mysql -D_GNU_SOURCE -DHAVE_TRE -DNEED_MYSQL -o piler piler.c -lpiler -lz -lm -ldl -lcrypto -lssl -ltre -lwrap -lnsl -L/usr/lib64/ -lmariadb -L.
/usr/bin/ld: /usr/lib64//libmariadb.a(mariadb_lib.c.o): undefined reference to symbol 'pthread_once@@GLIBC_2.2.5'
//usr/lib64/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[1]: *** [piler] Fehler 1
make[1]: Leaving directory `/root/piler-1.3.7/src'
make: *** [all-recursive] Fehler 1 -
repo owner Well, I just tried to build on centos7 (inside docker), and I couldn’t reproduce this issue.
Try the following. Download and untar the 1.3.5 tarball to a new directory, and try to compile it from scratch.
-
Account Deactivated reporter you mean 1.3.7 ?
i do it without success
-
repo owner No. What I meant is “Download and untar the 1.3.5 tarball to a new directory, and try to compile it from scratch.”
-
Account Deactivated reporter ok on /tmp i get the same error with 1.3.5
/usr/bin/ld: /usr/lib64//libmariadb.a(mariadb_lib.c.o): undefined reference to symbol 'pthread_once@@GLIBC_2.2.5'
//usr/lib64/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: Fehler: ld gab 1 als Ende-Status zurück
make[1]: *** [piler] Fehler 1
make[1]: Leaving directory `/tmp/piler-1.3.5/src'
make: *** [all-recursive] Fehler 1 -
repo owner Thank you for the input. I believe that it’s not a piler issue, since you managed to compile it before (and I couldn’t reproduce it). So I’d google it, and see what others may did to solve such issue.
Check out this one: https://forums.gentoo.org/viewtopic-t-1083336-start-0.html or https://gitlab.freedesktop.org/wayland/wayland/issues/91
Let me know how it goes.
-
Account Deactivated reporter i manged to compile 1.3.7 thanks to HDIN with ./configure --localstatedir=/var --with-database=mysql --enable-tcpwrappers LDFLAGS='-pthread'
and --enable-tcpwrappers sames to not working ?
also
now Im on 1.3.6 not 1.3.7 ?
piler 1.3.6, build 998, Janos SUTO sj@acts.hu
Build Date: Thu Nov 21 15:52:25 CET 2019
ldd version: ldd (GNU libc) 2.17
gcc version: gcc version 4.8.5 20150623 (Red Hat 4.8.5-39) (GCC)
OS: Linux voqcospiler.ratio.local 3.10.0-1062.4.3.el7.x86_64#1SMP Wed Nov 13 23:58:53 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Configure command: ./configure --localstatedir=/var --with-database=mysql --enable-tcpwrappers LDFLAGS=-pthread
MySQL client library version: 10.2.29
Extractors: /usr/bin/pdftotext /usr/bin/catdoc /usr/bin/catppt /usr/bin/xls2csv /usr/local/bin/ppthtml /usr/bin/unrtf /usr/bin/tnef -
repo owner - changed status to closed
- Log in to comment
Which Linux distro is it?