Friday, April 26, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 5885  / 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
3 Years ago
iriousutur questions
Sun, Apr 9, 23, 02:48, 1 Year ago
Tue, May 23, 23, 00:41, 1 Year ago
Fri, Oct 21, 22, 02:47, 2 Years ago
Mon, May 9, 22, 00:01, 2 Years ago
;