- changed title to Piler Installation issue
Piler Installation issue
Hello Team,
Getting the below error, while installing Piler in CentOS 7,
ar cr libpiler.a 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 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 import_gui.o imap.o pop3.o extract.o mydomains.o memc.o mysql.o
ranlib libpiler.a
gcc -shared -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 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 import_gui.o imap.o pop3.o extract.o mydomains.o memc.o mysql.o
ln -sf libpiler.so.0.1.1 libpiler.so
ln -sf libpiler.so.0.1.1 libpiler.so.0
gcc -O2 -Wall -g -I. -I.. -I/usr/include/mysql -I/usr/include/mysql/mysql -D_GNU_SOURCE -DHAVE_TRE -DHAVE_MEMCACHED -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: error: ld returned 1 exit status
make[1]: *** [piler] Error 1
make[1]: Leaving directory `/usr/src/piler/src'
make: *** [all-recursive] Error 1
please help.
Comments (7)
-
reporter -
reporter nvm… fixed the issue…
-
repo owner - changed status to closed
Then case is closed.
-
Account Deactivated Hello HDIN,
can you explain me how do you fix the issue?
-
reporter Hello Selahattin,
I used the below command to configure Piler,
./configure --localstatedir=/var --with-database=mysql LDFLAGS='-pthread'
This fixed the above mentioned issue.
-
repo owner Great, thanks for documenting it
-
Account Deactivated thank you my friend this worked like a charm
- Log in to comment