[Python-Dev] Where is this flag coming from? (original) (raw)
Tim Rice tim@multitalents.net
Tue, 8 Oct 2002 21:54:44 -0700 (PDT)
- Previous message: [Python-Dev] Where is this flag coming from?
- Next message: [Python-Dev] Where is this flag coming from?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, 8 Oct 2002, Skip Montanaro wrote:
SM> None of the other extension modules are linked with "-Wl,-R/sw/lib". SM> I don't find "-R" in either setup.py or configure. Any idea where SM> this is coming from and how to get rid of it? BAW> Don't you remember, Skip!? I think we worked this out when we were BAW> looking at the linking problems with bsddb, since the from-source BAW> Berkeley install doesn't put its libs in a normally searched BAW> location. I remember having problems with bsddb, which I think were fixed. -Wl,-R/sw/lib is clearly wrong on MacOS X though. Deleting it and running the link command manually works. BAW> Are you saying that the flags are wrong, the paths are wrong, the BAW> flags are unnecessary, or something else?
The -R flag in not supported on all systems. 2.2.2b1 build is broken on SCO Open Server now too.
The flags are incorrect:
... building 'bsddb' extension _gcc -bundle -bundleloader python.exe _ _build/temp.darwin-6.1-Power\ Macintosh-2.3/bsddbmodule.o _ _-L/sw/lib -L/home/skip/local/lib -L/sw/lib -L/usr/local/lib _ _-Wl,-R/sw/lib -ldb-4.1 _ -o build/lib.darwin-6.1-Power\ Macintosh-2.3/bsddb.so ld: unknown flag: -R/sw/lib ... Skip
Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev
-- Tim Rice Multitalents (707) 887-1469 tim@multitalents.net
- Previous message: [Python-Dev] Where is this flag coming from?
- Next message: [Python-Dev] Where is this flag coming from?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]