Opened 3 years ago

Last modified 3 years ago

#1907 new defect

bug in configuration of pthread

Reported by: Todd Wegner <twwegner@…> Owned by:
Priority: unset Milestone:
Component: EinsteinToolkit thorn Version: development version
Keywords: Cc: twwegner@…


There is a problem with
for detection of pthread on Lubuntu 15.04.

I have attached a "fix".

x86_64-linux-gnu needs to be added to libdir in the script
also the following lines need to be commented

Not sure the accepted approach to avoid commenting lines.

The following command then needs to be run.
make <config-name>-config PTHREADS_DIR=/usr

It this is useful to anyone, the
dependent packages required to build cactus are
(packages not installed by default installation):

sudo apt-get install ...




Best Regards,


Attachments (1) (4.0 KB) - added by Frank Löffler 3 years ago.

Download all attachments as: .zip

Change History (2)

Changed 3 years ago by Frank Löffler

Attachment: added

comment:1 Changed 3 years ago by Frank Löffler

I've added x86_64-linux-gnu to the searched lib-dirs, but I wonder why the strip-dirs need to be commented out. The directory you mention is a system directory. It should be found without specifying it on the command line, which is the reason we can remove it from the specifically mentioned libdirs. We actually have to do this to avoid system libraries overwriting specific libraries. Can you try with just the change that is currently in 'trunk' (adding x86_64-linux-gnu), and tell what what specifically does not work if not also these two lines you mention are commented (

PTHREADS_DIR=/usr shouldn't be needed. pthreads intalled in the standard location should be found. Could it be that the detect script cannot find pthreads.h?

Modify Ticket

Change Properties
Set your email in Preferences
as new The ticket will remain with no owner.
Next status will be 'review'.
as The resolution will be set.
to The owner will be changed from (none) to the specified user.
Next status will be 'confirmed'.
The owner will be changed from (none) to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.