Opened 10 years ago

Closed 8 years ago

#24954 closed defect (fixed)

alpine: Undefined symbols: _libintl_setlocale when gss is not installed

Reported by: schnide (Joe Schnide) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: bjd@…, nhruby@…, Russell-Jones-OxPhys (Russell Jones), ryandesign (Ryan Schmidt), aeevr@…, nerdling (Jeremy L), someuser12, mklein-de (Michael Klein), todmorrison (Tod Morrison), anddam (Andrea D'Amore)
Port: alpine

Description

Unable to build Alpine on PPC.

PPC mac laptop
Mac OS X 10.5.8
uninstalled macports with the command:

rm -rf \
    /opt/local \
    /etc/manpaths.d/macports \
    /etc/paths.d/macports \
    /Applications/DarwinPorts \
    /Applications/MacPorts \
    /Library/LaunchDaemons/org.macports.* \
    /Library/Receipts/DarwinPorts*.pkg \
    /Library/Receipts/MacPorts*.pkg \
    /Library/StartupItems/DarwinPortsStartup \
    /Library/Tcl/darwinports1.0 \
    /Library/Tcl/macports1.0


ran Apple’s software update to be current
installed xcode314_2809_developerdvd.dmg
installed MacPorts-1.7.1-10.5-Leopard.dmg
port -d selfupdate
port upgrade outdated
port install cdpr
[no problems]
port install whatmask
[no problems]
port install alpine
[installed all dependencies without errors, started alpine install and got errors]


attached output of port -d install alpine

Attachments (11)

alpine.txt (113.6 KB) - added by schnide (Joe Schnide) 10 years ago.
alpine3.txt (110.8 KB) - added by schnide (Joe Schnide) 10 years ago.
alpine-nhruby.txt.bz2 (14.0 KB) - added by nhruby@… 10 years ago.
alpine-debug-20100607135508.txt.bz2 (12.8 KB) - added by Russell-Jones-OxPhys (Russell Jones) 10 years ago.
sudo port clean ; sudo port -d install &> "alpine-debug-date "+%Y%m%d%H%M%S".txt"
patch-alpine-Makefile.in.diff (866 bytes) - added by todmorrison (Tod Morrison) 10 years ago.
patch to fix "libintl" problems
main.log (51.5 KB) - added by schnide (Joe Schnide) 10 years ago.
log from install, not -d output
alpine-Portfile.diff (1.3 KB) - added by todmorrison (Tod Morrison) 10 years ago.
Diff for alpine Portfile
alpine-ppc.txt (102.5 KB) - added by schnide (Joe Schnide) 10 years ago.
alpine-Portfile.2.diff (409 bytes) - added by todmorrison (Tod Morrison) 10 years ago.
another portfile diff…
patch-configure.diff (315 bytes) - added by todmorrison (Tod Morrison) 10 years ago.
patch to configure to force -lcrypto to the end of the link command
alpine-ppc-2010-07-26.txt (102.3 KB) - added by schnide (Joe Schnide) 10 years ago.

Download all attachments as: .zip

Change History (65)

Changed 10 years ago by schnide (Joe Schnide)

Attachment: alpine.txt added

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Keywords: alpine ppc removed
Owner: changed from macports-tickets@… to todmorrison@…

Why did you install an old version of Macports? Where did you get that from? You should update to version 1.8.2. Please run the following:

sudo port selfupdate
sudo port upgrade outdated
sudo port clean alpine
sudo port install alpine

comment:2 in reply to:  1 Changed 10 years ago by schnide (Joe Schnide)

Replying to macsforever2000@…:

Why did you install an old version of Macports? Where did you get that from? You should update to version 1.8.2. Please run the following:

sudo port selfupdate
sudo port upgrade outdated
sudo port clean alpine
sudo port install alpine

Per the ticket entry, I did run port selfupdate after the install so I was at 1.8.2 before the installs. As noted, I also did the upgrade outdated and the clean. I re-ran the commands you suggested. And the result:

# port install alpine
--->  Computing dependencies for alpine
--->  Fetching alpine
--->  Verifying checksum(s) for alpine
--->  Extracting alpine
--->  Configuring alpine
--->  Building alpine
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_mail_alpine/work/alpine-2.00" && /usr/bin/make all C_CLIENT_SPECIALS="GSSLIB=//opt/local/lib SSLDIR=/opt/local" " returned error 2
Command output: mv -f .deps/signal.Tpo .deps/signal.Po
/usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H   -I../include -I../include -DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -I/opt/local/include -I/opt/local/include -g -D_THREAD_SAFE  -Dbsd -O2 -arch ppc -MT status.o -MD -MP -MF .deps/status.Tpo -c -o status.o status.c
mv -f .deps/status.Tpo .deps/status.Po
/usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H   -I../include -I../include -DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -I/opt/local/include -I/opt/local/include -g -D_THREAD_SAFE  -Dbsd -O2 -arch ppc -MT takeaddr.o -MD -MP -MF .deps/takeaddr.Tpo -c -o takeaddr.o takeaddr.c
mv -f .deps/takeaddr.Tpo .deps/takeaddr.Po
/usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H   -I../include -I../include -DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -I/opt/local/include -I/opt/local/include -g -D_THREAD_SAFE  -Dbsd -O2 -arch ppc -MT titlebar.o -MD -MP -MF .deps/titlebar.Tpo -c -o titlebar.o titlebar.c
mv -f .deps/titlebar.Tpo .deps/titlebar.Po
/usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H   -I../include -I../include -DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -I/opt/local/include -I/opt/local/include -g -D_THREAD_SAFE  -Dbsd -O2 -arch ppc -MT smime.o -MD -MP -MF .deps/smime.Tpo -c -o smime.o smime.c
mv -f .deps/smime.Tpo .deps/smime.Po
/usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H   -I../include -I../include -DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -I/opt/local/include -I/opt/local/include -g -D_THREAD_SAFE  -Dbsd -O2 -arch ppc -MT date.o -MD -MP -MF .deps/date.Tpo -c -o date.o date.c
mv -f .deps/date.Tpo .deps/date.Po
/bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.0 -std=gnu99 -g -D_THREAD_SAFE  -Dbsd -O2 -arch ppc `cat ../c-client/LDFLAGS` -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -o alpine addrbook.o adrbkcmd.o after.o alpine.o arg.o busy.o colorconf.o confscroll.o context.o dispfilt.o flagmaint.o folder.o help.o imap.o init.o kblock.o keymenu.o ldapconf.o listsel.o mailcmd.o mailindx.o mailpart.o mailview.o newuser.o pattern.o pipe.o print.o radio.o remote.o reply.o roleconf.o send.o setup.o signal.o status.o takeaddr.o titlebar.o smime.o date.o ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lintl -liconv -lc  -Wl,-framework -Wl,CoreFoundation -lgssapi_krb5 -lssl -lldap  -lncurses -llber -lssl -framework Carbon -framework ApplicationServices -framework Security
mkdir .libs
/usr/bin/gcc-4.0 -std=gnu99 -g -D_THREAD_SAFE -Dbsd -O2 -arch ppc -o alpine addrbook.o adrbkcmd.o after.o alpine.o arg.o busy.o colorconf.o confscroll.o context.o dispfilt.o flagmaint.o folder.o help.o imap.o init.o kblock.o keymenu.o ldapconf.o listsel.o mailcmd.o mailindx.o mailpart.o mailview.o newuser.o pattern.o pipe.o print.o radio.o remote.o reply.o roleconf.o send.o setup.o signal.o status.o takeaddr.o titlebar.o smime.o date.o -Wl,-framework -Wl,CoreFoundation -framework Carbon -framework ApplicationServices -framework Security  -L//opt/local/lib -lkrb5 -lcom_err -L/usr/lib -L/opt/local/lib ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib -lc -lgssapi_krb5 /opt/local/lib/libldap.dylib -L/opt/local/lib/db46 /opt/local/lib/libsasl2.dylib -ldl -lresolv -lpam -lcrypto -lncurses /opt/local/lib/liblber.dylib -lssl
/usr/bin/gcc-4.0 -std=gnu99 -DHAVE_CONFIG_H   -I../include -I../include -DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -I/opt/local/include -I/opt/local/include -g -D_THREAD_SAFE  -Dbsd -O2 -arch ppc -MT rpdump.o -MD -MP -MF .deps/rpdump.Tpo -c -o rpdump.o rpdump.c
mv -f .deps/rpdump.Tpo .deps/rpdump.Po
/bin/sh ../libtool --tag=CC   --mode=link /usr/bin/gcc-4.0 -std=gnu99 -g -D_THREAD_SAFE  -Dbsd -O2 -arch ppc `cat ../c-client/LDFLAGS` -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -o rpdump rpdump.o ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 -lssl -lldap  -lncurses -llber -lssl -framework Carbon -framework ApplicationServices -framework Security
/usr/bin/gcc-4.0 -std=gnu99 -g -D_THREAD_SAFE -Dbsd -O2 -arch ppc -o rpdump rpdump.o -framework Carbon -framework ApplicationServices -framework Security  -L//opt/local/lib -lkrb5 -lcom_err -L/usr/lib -L/opt/local/lib ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a -lgssapi_krb5 /opt/local/lib/libldap.dylib -L/opt/local/lib/db46 /opt/local/lib/libsasl2.dylib -ldl -lresolv -lpam -lcrypto -lncurses /opt/local/lib/liblber.dylib -lssl
Undefined symbols:
  "_libintl_setlocale", referenced from:
      _set_collation in libpithosd.a(collate.o)
      _set_collation in libpithosd.a(collate.o)
      _set_collation in libpithosd.a(collate.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[4]: *** [rpdump] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.
Before reporting a bug, first run the command again with the -d flag to get complete output.

I will be attaching the output of port -d install alpine.

Please let me know if I can provide further information.

Thanks Joe

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

The proximate cause appears to be that the link command is missing -lintl.

comment:4 Changed 10 years ago by jmroot (Joshua Root)

Version: 1.7.11.8.2

Changed 10 years ago by schnide (Joe Schnide)

Attachment: alpine3.txt added

comment:5 Changed 10 years ago by bjd@…

Cc: bjd@… added

Cc Me!

comment:6 Changed 10 years ago by nhruby@…

Cc: nhruby@… added

Cc Me!

comment:7 in reply to:  description Changed 10 years ago by Russell-Jones-OxPhys (Russell Jones)

Also happens on 10.6.3 on inte 64-bit +universal. See debug output attached to #24212

comment:8 Changed 10 years ago by ryandesign (Ryan Schmidt)

Cc: russell.jones@… ryandesign@… added
Summary: summary alpine build failurealpine: Undefined symbols: _libintl_setlocale

Was also reported on the mailing list.

alpine builds fine for me on Snow Leopard x86_64; I'll also test Leopard ppc. Russell, the difference between your output in #24212 and mine is that I have the gss port installed. Can you try installing gss, cleaning alpine and trying again to install alpine?

sudo port install gss
sudo port clean alpine
sudo port install alpine

comment:9 Changed 10 years ago by ryandesign (Ryan Schmidt)

Also, I am able to reproduce the error on Snow Leopard if I deactivate gss before trying to install alpine.

So I think the solution will be to add a dependency on gss to alpine.

comment:10 Changed 10 years ago by ryandesign (Ryan Schmidt)

Summary: alpine: Undefined symbols: _libintl_setlocalealpine: Undefined symbols: _libintl_setlocale when gss is not installed

comment:11 in reply to:  10 Changed 10 years ago by nhruby@…

For me on 10.6.3, even after installing gss, trying to build alpine fails with the same error.

comment:12 Changed 10 years ago by ryandesign (Ryan Schmidt)

Then could you please clean and try again with the debug switch:

sudo port clean alpine
sudo port -d install alpine 2>&1 | tee ~/Desktop/alpine-nhruby.txt
bzip2 ~/Desktop/alpine-nhruby.txt

Then attach the file alpine-nhruby.txt.bz2 from your desktop to this ticket so we can have a look.

comment:13 Changed 10 years ago by Russell-Jones-OxPhys (Russell Jones)

New build output attached.

Changed 10 years ago by nhruby@…

Attachment: alpine-nhruby.txt.bz2 added

comment:14 Changed 10 years ago by nhruby@…

Attached.

Changed 10 years ago by Russell-Jones-OxPhys (Russell Jones)

sudo port clean ; sudo port -d install &> "alpine-debug-date "+%Y%m%d%H%M%S".txt"

comment:15 Changed 10 years ago by Russell-Jones-OxPhys (Russell Jones)

Just realised I had a local portfile for alpine. Trying again.

comment:16 in reply to:  description Changed 10 years ago by aeevr@…

Just tried to install alpine for the very first time today, so I have no old installations hanging around. Have the same

Undefined symbols: "_libintl_setlocale" error. I cleaned and uninstalled alpine, installed gss, reinstalled alpine. Again this compilation error.

This with a brand spanking new MacBook 7,1 running Mac OS X 10.6.3.

comment:17 Changed 10 years ago by aeevr@…

Cc: aeevr@… added

Cc Me!

comment:18 Changed 10 years ago by aeevr@…

Changed

EXTRALDFLAGS="${configure.universal_ldflags}"

to

EXTRALDFLAGS="${configure.universal_ldflags} -lintl"

in the Portfile but that didn't work.

comment:19 Changed 10 years ago by applestore@…

I had the same problem building alpine. I was not trying to build "universal" but it looks like maybe this might help that problem too. It started after I upgraded to macports 1.0.0 and did port upgrade installed. I do not know what version I was on previously but the alpine port was the only one to fail. I got the error with or without gss installed, but I needed it for something else so it was installed when I did the following change.

I changed the Portfile to read like this (Added the part in bold):

variant without_tcl description {Disable TCL support (disables Alpine Web)} {

configure.args-append --without-tcl

build.args-append EXTRALDFLAGS="-lintl" }

After this, I was able to install alpine and it works fine. Not sure if this info is useful, I don't know a lot about this stuff, but this was how I fixed it at least temporarily.

comment:20 in reply to:  19 Changed 10 years ago by aeevr@…

applestore, Thanks! I edited the Portfile as per your instructions and install with the +without_tcl variant flag and it compiles. Copied my .pinerc from my work machine so now I don't have to ssh anymore to check my email. You're awesome!

comment:21 in reply to:  19 Changed 10 years ago by applestore@…

Replying to applestore@…:

I had the same problem building alpine. I was not trying to build "universal" but it looks like maybe this might help that problem too. It started after I upgraded to macports 1.0.0 and did port upgrade installed.

I meant macports 1.9.0. Sorry :)

comment:22 Changed 10 years ago by helgeg@…

I had the same problem building alpine on my machine, and the workaround made it compile nicely. Thanks for providing it!

For other newbies wondering where the portfile to be edited is located, it can be found at:

/opt/local/var/macpoarts/sources/rsync.macports.org/release7port/mail/alpine/Portfile

comment:23 in reply to:  22 ; Changed 10 years ago by helgeg@…

Ooops,

/opt/local/var/macpoarts/sources/rsync.macports.org/release7port/mail/alpine/Portfile

should read:

/opt/local/var/macpoarts/sources/rsync.macports.org/release/port/mail/alpine/Portfile

comment:24 in reply to:  23 ; Changed 10 years ago by ryandesign (Ryan Schmidt)

Replying to helgeg@…:

/opt/local/var/macpoarts/sources/rsync.macports.org/release/port/mail/alpine/Portfile

The simpler way to learn this path is to type "port file Portfile". You can edit the Portfile by typing "port edit Portfile".

comment:25 in reply to:  24 ; Changed 10 years ago by ryandesign (Ryan Schmidt)

Replying to ryandesign@…:

The simpler way to learn this path is to type "port file Portfile". You can edit the Portfile by typing "port edit Portfile".

I should proofread before I post. I meant "port file alpine" and "port edit alpine".

comment:26 in reply to:  25 Changed 10 years ago by helgeg@…

Duh! I should have known there was a more straightforward way to edit the portfile. Thanks for the heads-up, and for not throwing an RTFM at me :-)

comment:27 Changed 10 years ago by todmorrison (Tod Morrison)

Sorry I haven't jumped on this, I've been busy with other priorities. Also, I haven't used alpine in a while since I started using 're-alpine' (a fork/successor to alpine) and now use neither. I've just submitted a Portfile (and patches) for 're-alpine' (see Ticket #25428) that solves the 'libintl' problem and would encourage alpine fans to consider switching to that port since it has a much cleaner build process (the only real difference) and should be much easier to maintain.

Additionally, since I no longer use either alpine or re-alpine, I cannot effectively maintain either and would be happy to see someone new take over maintenance of either or both ports.

comment:28 Changed 10 years ago by todmorrison (Tod Morrison)

The attached Portfile diff and patch should solve this problem...

Changed 10 years ago by todmorrison (Tod Morrison)

patch to fix "libintl" problems

comment:29 Changed 10 years ago by schnide (Joe Schnide)

As someone that is not a programmer, what needs to happen to use the files you uploaded and get a working installation of alpine? Also, I also do not see 're-alpine' you mentioned in the list of ports.

root# port search re-alpine
No match for re-alpine found

root# port install re-alpine
Error: Port re-alpine not found

Please let me know if I can provide further information.

comment:30 Changed 10 years ago by todmorrison (Tod Morrison)

Ticket #25657 has a patch for the alpine Portfile that should fix this problem (as well as #25603 and #25161).

comment:31 Changed 10 years ago by schnide (Joe Schnide)

What do I do with the 2 files? I looked over the FAQ and didn't find anything related to what to do with the patch files. Do I need to use both files? If I missed something in the FAQ or docs, I'd appreciate if you could point me to the information. I have a temporary work-around as I downloaded and installed the re-alpine-2.0.1.dmg and it is working fine.

comment:32 Changed 10 years ago by todmorrison (Tod Morrison)

You have two real options:

1) Copy 'patch-alpine-Makefile.in.diff' into the '/opt/local/var/macports/sources/rsync.macports.org/release/ports/mail/alpine/files' directory, and patch '/opt/local/var/macports/sources/rsync.macports.org/release/ports/mail/alpine/Portfile' with 'alpine-Portfile.diff'. Then port install alpine. Using this option is ok for a one-shot, but the changes will get undone when you do a 'port selfupdate' or 'sync'.

2) Similar to step one, but in your own local ports directory (see http://guide.macports.org/#development.local-repositories).

Otherwise, hopefully the fixes will get committed sometime soon....

comment:33 Changed 10 years ago by schnide (Joe Schnide)

I believe I did everything correctly and checked the Portfile after the patch and things did get changed to match your diff file changes. I also copied the patch-alpine-Makefile.in.diff I am still getting errors and attached the error log. It appears now to be openssl related. The openssl error I was getting with nmap no longer happens and nmap installed fine. I've found a way to get what I need done with the dmg so this is not that important and I do appreciate you doing all this when you are no longer the maintainer. It can be closed if you would like. Thanks for all the efforts.

Changed 10 years ago by schnide (Joe Schnide)

Attachment: main.log added

log from install, not -d output

Changed 10 years ago by todmorrison (Tod Morrison)

Attachment: alpine-Portfile.diff added

Diff for alpine Portfile

comment:34 Changed 10 years ago by todmorrison (Tod Morrison)

Looks like you've got the older patch rather than the one from Ticket #25657 that also fixes the SSL problems. I've attached the latest to this ticket as well. You'll need to reverse the previous patch (or just recopy from the main macports dir) and apply this one.

comment:35 Changed 10 years ago by nerdling (Jeremy L)

Committed in r69754. Let me know if this closes it.

comment:36 Changed 10 years ago by nerdling (Jeremy L)

Cc: snc@… added

Cc Me!

comment:37 Changed 10 years ago by schnide (Joe Schnide)

I did a port , port -d selfupdate, clean --all alpine and a port uninstall alpine followed by a port -d install alpine. The install failed. As an aside, the install worked fine on 2 different Intel macs but did not work on the PPC mac. I have attached the port -d install alpine output.

Changed 10 years ago by schnide (Joe Schnide)

Attachment: alpine-ppc.txt added

comment:38 Changed 10 years ago by todmorrison (Tod Morrison)

Looks like the problem is actually that the older version of gcc on the PPC is picky about the order of libraries, while the newer versions are not. I'm attaching a new patch and Portfile diff to force "-lcrypto" to appear after libpith.a...

This should fix this problem.

Changed 10 years ago by todmorrison (Tod Morrison)

Attachment: alpine-Portfile.2.diff added

another portfile diff...

Changed 10 years ago by todmorrison (Tod Morrison)

Attachment: patch-configure.diff added

patch to configure to force -lcrypto to the end of the link command

comment:39 Changed 10 years ago by nerdling (Jeremy L)

Committed in r69804.

comment:40 Changed 10 years ago by nerdling (Jeremy L)

Time to close the ticket?

comment:41 Changed 10 years ago by schnide (Joe Schnide)

I am still not able to get it to build. I'll work on it some more when I have a chance. Ok to close.

comment:42 Changed 10 years ago by schnide (Joe Schnide)

I did the port -d selfupdate and checked the files. I then did a port -d install alpine. The results are attached.

Changed 10 years ago by schnide (Joe Schnide)

Attachment: alpine-ppc-2010-07-26.txt added

comment:43 Changed 10 years ago by todmorrison (Tod Morrison)

I'm not really going to be able to debug this, but the first place to start is to do:

nm /opt/local/lib/libcrypto.dylib | grep _BIO_method

and make sure it's not a problem with your openssl installation...

comment:44 in reply to:  43 ; Changed 10 years ago by someuser12

FWIW: I have the same problem as jschnide, but on an Intel iMac (with Mac OS X 10.5.8): linking of the alpine binary fails with the message

 Undefined symbols:
   "_BIO_method_type", referenced from:
       _so_seek in libpith.a(store.o)
 ld: symbol(s) not found

The link command is

/usr/bin/gcc-4.0 -std=gnu99 -g -D_THREAD_SAFE -Dbsd -O2 -arch i386 -arch i386 -o alpine addrbook.o adrbkcmd.o after.o alpine.o arg.o busy.o colorconf.o confscroll.o context.o dispfilt.o flagmaint.o folder.o help.o imap.o init.o kblock.o keymenu.o ldapconf.o listsel.o mailcmd.o mailindx.o mailpart.o mailview.o newuser.o pattern.o pipe.o print.o radio.o remote.o reply.o roleconf.o send.o setup.o signal.o status.o takeaddr.o titlebar.o smime.o date.o -Wl,-framework -Wl,CoreFoundation -framework Carbon -framework ApplicationServices -framework Security  -L/usr/lib -lkrb5 -lcom_err -lpam -ldl -L/opt/local/lib ../pico/libpico.a ../pico/osdep/libpicoosd.a ../pith/libpith.a ../pith/osdep/libpithosd.a ../pith/charconv/libpithcc.a osdep/libpineosd.a ../c-client/c-client.a /opt/local/lib/libintl.dylib /opt/local/lib/libiconv.dylib /usr/lib/libiconv.dylib -lc -lgssapi_krb5 -lldap -lncurses -llber -lssl -lcrypto

I don't understand the problem since, following your suggestion:

 $nm /opt/local/lib/libcrypto.dylib | grep _BIO_method 
 000709a0 T _BIO_method_name
 000709b0 T _BIO_method_type
 $

comment:45 Changed 10 years ago by schnide (Joe Schnide)

Ran the command you suggested and:

~ root# nm /opt/local/lib/libcrypto.dylib | grep _BIO_method
0006d6d0 T _BIO_method_name
0006d6e0 T _BIO_method_type

What should be the next step?

comment:46 Changed 10 years ago by someuser12

Cc: macosx12345@… added

Cc Me!

comment:47 Changed 10 years ago by someuser12

I confirm that re-alpine 2.01 (for which a Portfile was submitted in #25428) does not have the compilation problem of alpine above.

comment:48 in reply to:  47 ; Changed 10 years ago by schnide (Joe Schnide)

Replying to macosx12345@…:

I confirm that re-alpine 2.01 (for which a Portfile was submitted in #25428) does not have the compilation problem of alpine above.

Just to confirm, you were able to do this on a PPC mac running Mac OS X 10.5.8? I've had no problem on Intel macs but have not had success on PPC macs.

comment:49 in reply to:  48 Changed 10 years ago by someuser12

Replying to jschnide@…:

Just to confirm, you were able to do this on a PPC mac running Mac OS X 10.5.8? I've had no problem on Intel macs but have not had success on PPC macs.

Sorry, maybe I was too elliptic. I meant: I compiled with success re-alpine on an Intel iMac running Mac OS 10.5.8, without the problem with the alpine port which ends up with Undefined symbols: "_BIO_method_type". This sounds like a progress to me since I was not able to build alpine with MacPorts for several weeks, even on an Intel iMac.

Therefore, I gave up finding the cause of the problem with the alpine port and am now using the re-alpine port. (Furthermore, the authors of re-alpine claim they have corrected several bugs in alpine 2.00 and made enhancements).

Unfortunately, I have no PPC mac running Mac OS 10.5 at hand, so that I can't try compiling re-alpine on it.

comment:50 in reply to:  44 Changed 9 years ago by mklein-de (Michael Klein)

The link command above fails because -L/usr/lib preceeds -L/opt/local/lib on the command line, so the linker pulls libcrypto from /usr/lib instead of /opt/local/lib.

comment:51 Changed 9 years ago by mklein-de (Michael Klein)

Cc: michael.klein@… added

Cc Me!

comment:52 Changed 9 years ago by jmroot (Joshua Root)

Cc: todmorrison@… added
Owner: changed from todmorrison@… to macports-tickets@…

comment:53 Changed 8 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… added

Cc Me!

comment:54 Changed 8 years ago by jmroot (Joshua Root)

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