bugJailkit - Bugs: bug #35249, Jailkit-2.14 make or install fails...

 
 

bug #35249: Jailkit-2.14 make or install fails on Ubuntu 11.10 - fixed

Submitted by:  None
Submitted on:  Thu 05 Jan 2012 08:38:42 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 02 Aug 2012 09:01:07 PM UTC, comment #2:

fixed in jailkit 2.15

Olivier Sessink <oli4>
Project Administrator
Thu 09 Feb 2012 05:22:39 PM UTC, comment #1:

Another way to install jailkit 2.14 on ubuntu 11.10 described here http://www.howtoforge.com/perfect-server-ubuntu-11.10-ispconfig-3-p4

Yuri <jura12>
Thu 05 Jan 2012 08:38:42 PM UTC, original submission:

"./configure" without any problems.

Following error while "make":
[...]
checking for python... /usr/bin/python
checking for up to date python... checking for up to date python... ok
checking for procmail... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating py/Makefile
config.status: creating man/Makefile
config.status: creating src/config.h
sh-4.2#
sh-4.2# make
make[1]: Betrete Verzeichnis '/tmp/jailkit-2.14/src'
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\" -c -o jk_socketd.o jk_socketd.c
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\" -c -o jk_lib.o jk_lib.c
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\" -c -o utils.o utils.c
gcc -g -O2 -Wall -pipe -DINIPREFIX=\"/etc/jailkit\" -c -o iniparser.o iniparser.c
gcc -lpthread -o jk_socketd jk_socketd.o jk_lib.o utils.o iniparser.o
jk_socketd.o: In function `main':
/tmp/jailkit-2.14/src/jk_socketd.c:474: undefined reference to `pthread_create'
collect2: ld gab 1 als Ende-Status zurück
make[1]: *** [jk_socketd] Fehler 1
make[1]: Verlasse Verzeichnis '/tmp/jailkit-2.14/src'
make: *** [all] Fehler 2
sh-4.2#

Fix:
Edit line 41 and 42 of this file: jailkit-2.14/src/Makefile

from:
[...]
LIBS = -lpthread
LDLIBS = -lpthread
[...]

to:
[...]
LIBS = -pthread
LDLIBS = -pthread
[...]

... save and the sun will rise during next "make".

This worked for me.
tata

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by oli4 (Posted a comment)
  • -unavailable- added by jura12 (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 02 Aug 2012 09:01:07 PM UTColi4Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1