[egenix-users] Help on building python-egenix-mx-base

Funda Wang fundawang at gmail.com
Sat Dec 27 13:21:01 CET 2008


2008/12/26 M.-A. Lemburg <mal at egenix.com>:
> Hello,
>
> I'm not sure I understand: distutils gets its LDFLAGS from the
> Python installation when compiling and linking Python extensions
> and uses the same flags as those used for the installation
> of Python itself.
>
> Is the libdl needed for the new mx.Tools.dlopen() API ?
Yes, if you use dlopen, then -ldl is requried. And the same for floor
implies -lm.

>
> On 2008-12-26 03:06, Funda Wang wrote:
>> Hello,
>>
>> I'm currently building python-egenix-mx-base in Mandriva Linux, where
>> its LDFLAGS defaults to " -Wl,--as-needed -Wl,--no-undefined
>> -Wl,-z,relro".
>>
>> Maybe you could merge this patch regarding linking against libm and libdl:
>> http://svn.mandriva.com/cgi-bin/viewvc.cgi/packages/cooker/python-egenix-mx-base/current/SOURCES/egenix-mx-base-fix_underlinking.diff
>
> --
> Marc-Andre Lemburg
> eGenix.com
>
> Professional Python Services directly from the Source  (#1, Dec 26 2008)
>>>> Python/Zope Consulting and Support ...        http://www.egenix.com/
>>>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
>>>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
> ________________________________________________________________________
> 2008-12-02: Released mxODBC.Connect 1.0.0      http://python.egenix.com/
>
> ::: Try our new mxODBC.Connect Python Database Interface for free ! ::::
>
>
>   eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
>    D-40764 Langenfeld, Germany. CEO Dipl.-Math. Marc-Andre Lemburg
>           Registered at Amtsgericht Duesseldorf: HRB 46611
>               http://www.egenix.com/company/contact/
>



More information about the egenix-users mailing list