Modify

Opened 9 years ago

#2888 new Bugs

python static linking must use defaults for dl and pthread

Reported by: niklas@… Owned by: Dave Abrahams
Milestone: Boost 1.39.0 Component: python USE GITHUB
Version: Boost 1.38.0 Severity: Problem
Keywords: python static linking dl pthread Cc:

Description

When statically linking boost.python, you will get errors when it also tries to statically link libdl and and pthread.

The solution is to change a line in boost_1_38_0/tools/build/v2/tools/python.jam

line 657 from

case * : return <library>pthread <library>dl

to

case * : return

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain Dave Abrahams.

Add Comment


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

 
Note: See TracTickets for help on using tickets.