Opened 14 years ago

Closed 13 years ago

#29008 closed defect (fixed)

libproxy build fails on 10.4 (undefined symbols)

Reported by: vinc17@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: tiger Cc: tael67@…
Port: libproxy

Description

Building libproxy yields errors like:

:info:build /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: Undefined symbols:
:info:build _CORBA_ORB_destroy referenced from libgconf-2 expected to be defined in /opt/local/lib/libORBit-2.0.dylib
:info:build _CORBA_ORB_init referenced from libgconf-2 expected to be defined in /opt/local/lib/libORBit-2.0.dylib
:info:build _CORBA_ORB_object_to_string referenced from libgconf-2 expected to be defined in /opt/local/lib/libORBit-2.0.dylib

See attached log.

Attachments (1)

main.log (34.6 KB) - added by vinc17@… 14 years ago.

Download all attachments as: .zip

Change History (7)

Changed 14 years ago by vinc17@…

Attachment: main.log added

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

Keywords: tiger added
Summary: libproxy build fails (undefined symbols)libproxy build fails on 10.4 (undefined symbols)

comment:2 Changed 14 years ago by tael67@…

Cc: tael67@… added

Cc Me!

comment:3 Changed 14 years ago by rudloff@…

I have added the following to the Portfile (as suggested in #29008) and it worked :

platform darwin 8 {
    configure.ldflags-append    \
                                -lxml2 \
                                -lintl \
                                -liconv \
                                -lz
    configure.args-append       -DCMAKE_OSX_SYSROOT=/
}

comment:4 Changed 14 years ago by rudloff@…

Oops, I meant #29454.

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

OK, given that those aren't the libraries that libproxy couldn't find (they're the ones libplist couldn't find in #29452), I'm assuming setting the sysroot to / worked. Added to the portgroup in r78651.

Building universal on PowerPC Tiger still won't work without the explicit -l flags because you have to use the SDK in that case.

comment:6 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.