New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16752 (closed defect: worksforme)

Opened 5 years ago

Last modified 4 years ago

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: macsforever2000@…, ryandesign@…
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

comment:1 Changed 5 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 5 years ago by macsforever2000@…

  • Cc macsforever2000@… added

Cc Me!

comment:3 Changed 5 years ago by macsforever2000@…

  • Port changed from aqbanking 3.7.2_0 to aqbanking

comment:4 follow-up: ↓ 6 Changed 4 years ago by macsforever2000@…

Is this still a problem with the latest version 3.8.2?

comment:5 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

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

Replying to macsforever2000@…:

Is this still a problem with the latest version 3.8.2?

Yes.

comment:7 Changed 4 years ago by vinc17@…

  • Summary changed from aqbanking 3.7.2_0 build fails (wrong libgwenhywfar library version) to aqbanking build fails (wrong libgwenhywfar library version)

comment:8 Changed 4 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 4 years ago by ryandesign@…

  • 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 4 years ago by vinc17@…

  • Status changed from new to closed
  • Resolution set to worksforme

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.