Opened 15 years ago

Closed 14 years ago

#23522 closed defect (fixed)

py-sip @4.7.9 build error

Reported by: lo.knut@… Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: py-sip

Description (last modified by jmroot (Joshua Root))

c++ -F/opt/local/Library/Frameworks -L/opt/local/lib -bundle -framework Python -o sip.so siplib.o qtlib.o threads.o objmap.o bool.o 
Undefined symbols:
  "_Py_InitModule4", referenced from:
      _initsip in siplib.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [sip.so] Error 1
make: *** [all] Error 2

Change History (3)

comment:1 Changed 15 years ago by blair (Blair Zajac)

Try using py25-sip or py26-sip, py-sip is pretty old and is only for Python 2.4.

comment:2 Changed 15 years ago by jmroot (Joshua Root)

Cc: blair@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to blair@…

I'm guessing you're on 10.6 (which is important information that should be included in all bug reports), which means python24 isn't built as a framework and thus -framework Python doesn't work (not that it would necessarily pick up the right python version in any case).

comment:3 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

4.11.1 builds fine for me.

Note: See TracTickets for help on using tickets.