[issue4366] cannot find -lpython2.5 when buinding Python 2.5.2 on FreeBSD 4.11

Martin v. Löwis report at bugs.python.org
Thu Nov 20 19:44:14 CET 2008


Martin v. Löwis <martin at v.loewis.de> added the comment:

Since r53691, and issue 1600860, "." is added to library_dirs on Linux
and GNU systems. This probably should be extended to FreeBSD, and other
systems.

The critical point to notice is that the -L option is not only while
building Python itself, but also for extension modules (assuming Python
is installed into a non-standard location).

Now, the question is how to extend this approach to FreeBSD. For 2.5 and
2.6, I think it is safest to explicitly add freebsd to the list of
systems tested for.

For the trunk, and probably 3.0, I would try to add the library whenever
Py_ENABLE_SHARED is defined, and os.name is posix.

----------
nosy: +loewis

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4366>
_______________________________________


More information about the Python-bugs-list mailing list