Opened 14 years ago

Closed 14 years ago

#22485 closed defect (worksforme)

gtkwave-3.2.3 Build fails if liblzma is installed

Reported by: khalsah@… Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc:
Port: gtkwave

Description

If the liblzma port is installed and active when trying to build gtkwave the build fails due to undefined symbols:

Undefined symbols:
  "_LZMA_write", referenced from:
      _gzwrite_buffered in vzt_write.o
      _gzflush_buffered in vzt_write.o
  "_LZMA_fdopen", referenced from:
      _vzt_wr_flush_granule in vzt_write.o
      _vzt_wr_emitfacs in vzt_write.o
      _vzt_wr_emitfacs in vzt_write.o
  "_LZMA_close", referenced from:
      _gzflush_buffered in vzt_write.o
ld: symbol(s) not found
collect2: ld returned 1 exit status

Gtkwave appears to include a version of liblzma in its source tree. When liblzma is installed through MacPorts gtkwave links against the MacPorts version of liblzma, which seems to lack some of the symbols gtkwave uses.

If liblzma is deactivated gtkwave builds successfully.

Change History (3)

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

Cc: gwright@… removed
Owner: changed from macports-tickets@… to gwright@…

comment:2 Changed 14 years ago by gwright@…

Status: newassigned

comment:3 Changed 14 years ago by gwright@…

Resolution: worksforme
Status: assignedclosed

gtkwave 3.3.6 successfully links against the port of liblzma, version 4.999.9beta_0. I believe this has been the case for some time, since I've been able to update gtkwave more than once without running into this problem.

I will close this ticket.

Note: See TracTickets for help on using tickets.