Opened 16 years ago

Closed 15 years ago

#16752 closed defect (worksforme)

aqbanking build fails (wrong libgwenhywfar library version)

Reported by: vinc17@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: mf2k (Frank Schima), ryandesign (Ryan Carsten Schmidt)
Port: aqbanking

Description

I get the following error:

[...]
/usr/bin/ld: warning -L: directory name (/sw/lib) does not exist
/usr/bin/ld: warning can't open dynamic library: /opt/local/lib/libgwenhywfar.38.dylib referenced from: /opt/local/lib/libaqbanking.dylib (checking for undefined symbols may be affected) (No such file or directory, errno = 2)
/usr/bin/ld: Undefined symbols:
_GWEN_Buffer_AppendBuffer referenced from libaqbanking.16 expected to be defined in /opt/local/lib/libgwenhywfar.38.dylib
_GWEN_Buffer_AppendByte referenced from libaqbanking.16 expected to be defined in /opt/local/lib/libgwenhywfar.38.dylib
[...]

First, I don't know why it tries to read something from /sw/lib. This is a non-standard library path and there's nothing under that name here. Then I don't have a file /opt/local/lib/libgwenhywfar.38.dylib:

$ ll /opt/local/lib/libgwenhywfar.*
-rwxr-xr-x 2 root admin 837124 2008-10-05 01:12:25 /opt/local/lib/libgwenhywfar.47.4.1.dylib*
lrwxr-xr-x 1 root admin     26 2008-10-05 01:12:53 /opt/local/lib/libgwenhywfar.47.dylib -> libgwenhywfar.47.4.1.dylib*
lrwxr-xr-x 1 root admin     26 2008-10-05 01:12:53 /opt/local/lib/libgwenhywfar.dylib -> libgwenhywfar.47.4.1.dylib*
-rwxr-xr-x 2 root admin   1077 2008-10-05 01:12:25 /opt/local/lib/libgwenhywfar.la*

Change History (10)

comment:1 Changed 16 years ago by vinc17@…

The /sw/lib is due to gwenhywfar (via $prefix/lib/libgwenhywfar.la). I've reported the bug upstream.

comment:2 Changed 16 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added

Cc Me!

comment:3 Changed 16 years ago by mf2k (Frank Schima)

Port: 3.7.2_0 removed

comment:4 Changed 15 years ago by mf2k (Frank Schima)

Is this still a problem with the latest version 3.8.2?

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:6 in reply to:  4 Changed 15 years ago by vinc17@…

Replying to macsforever2000@…:

Is this still a problem with the latest version 3.8.2?

Yes.

comment:7 Changed 15 years ago by vinc17@…

Summary: aqbanking 3.7.2_0 build fails (wrong libgwenhywfar library version)aqbanking build fails (wrong libgwenhywfar library version)

comment:8 Changed 15 years ago by jim+macports@…

Use port deactivate aqbanking before install to work around the problem.

It is trying to link with the existing aqbanking.dylib in /opt/local/lib, instead of the locally generated one, presumably due to an ordering problem in the link line.

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

Cc: ryandesign@… added

gwenhywfar has been updated to 3.10.0 and aqbanking has been updated to 4.1.1. Do you still see this problem?

comment:10 Changed 15 years ago by vinc17@…

Resolution: worksforme
Status: newclosed

I no longer see this problem (actually I had aqbanking 3.8.2 installed, so that the problem probably came from gwenhywfar).

Note: See TracTickets for help on using tickets.