Tuesday, May 14, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 5893  / 3 Years ago, tue, july 27, 2021, 1:35:00

I want to install jailkit in ubuntu http://ubuntuforums.org/showthread.php?t=248724


so i have downloaded jailkit http://olivier.sessink.nl/jailkit/index.html#download


after downloading I did tar


then cd in to directory


./configure

make

(error)


How do i install it ?


Ii am installing (compile) it on Ubuntu server 11.10


UPDATE


I found out, how to start make:


(as root)


make

make[1]: Entering directory `/home/one/jailkit-2.14/src'

gcc -lpthread -o jk_socketd jk_socketd.o jk_lib.o utils.o iniparser.o

jk_socketd.o: In function `main':

/home/one/jailkit-2.14/src/jk_socketd.c:474: undefined reference to `pthread_create'

collect2: ld returned 1 exit status

make[1]: *** [jk_socketd] Error 1

make[1]: Leaving directory `/home/one/jailkit-2.14/src'

make: *** [all] Error 2

root@ubuntu:/home/one/jailkit-2.14#

More From » compiling

 Answers
1

Yep I just got exactly the same on mine. The linker isn't getting the correct flags.



make clean
export LDFLAGS="-pthread"
./configure && make

[#41127] Wednesday, July 28, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
iriousutur

Total Points: 321
Total Questions: 112
Total Answers: 106

Location: Sweden
Member since Mon, Dec 7, 2020
4 Years ago
;