how to build with --enable-shared so that binary knows where libraries are.

d d ded.utility at gmail.com
Thu Apr 1 00:40:56 EDT 2010


d d <ded.utility <at> gmail.com> writes:

> I found this:
>
http://koansys.com/tech/building-python-with-enable-shared-in-non-standard-location
> It recommends LDFLAGS="-rpath <path to lib>", and mentions that you
> get a "compiler cannot create executables" error unless you first
> create the empty directory.  But I get that error even when I do
> create the empty directory.

I typed -W1 instead of -Wl.  Works now. :-)




More information about the Python-list mailing list