Opened 14 years ago

Closed 13 years ago

#26732 closed defect (fixed)

mkvtoolnix @4.3.0 +wxwidgets - build failure: Undefined symbols: "___lzo_init_v2"

Reported by: tonycpsu@… Owned by: ruud@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc:
Port: mkvtoolnix

Description

I'm trying to build and install mkvtoolnix 4.3.0 and I'm getting this build error:

    LINK src/mkvmerge                                                                                                                                 
Undefined symbols:                                                                                                                                    
  "___lzo_init_v2", referenced from:                                                                                                                  
      lzo_compressor_c::lzo_compressor_c()in libmtxcommon.a(compression.o)                                                                            
ld: symbol(s) not found                                                                                                                               
collect2: ld returned 1 exit status                                                                                                                   
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_mkvtoolnix/work/mkvtoolnix-4.3.0" && ./drake default " returned error 1                                                                                                       
Error: Target org.macports.build returned: shell command failed                                                              

I do have the lzo2 port 2.03_2 installed, and I do see lzo_init_v2 in the symbol table for liblzo2.2.0.0.dylib:

nm /opt/local/lib/liblzo2.2.0.0.dylib | grep lzo_init_v2
0000000000001540 T ___lzo_init_v2

Change History (6)

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

Keywords: mkvtoolnix wxwidgets build lzo lzo2 removed
Owner: changed from macports-tickets@… to ruud@…
Summary: mkvtoolnix @4.3.0 +wxwidgets - build failuremkvtoolnix @4.3.0 +wxwidgets - build failure: Undefined symbols: "___lzo_init_v2"

Please remember to cc the maintainer.

comment:2 Changed 14 years ago by ruud@…

Have you by any chance changed the port:lzo dependency to port:lzo2?

comment:3 in reply to:  2 Changed 14 years ago by ruud@…

Replying to ruud@…:

Have you by any chance changed the port:lzo dependency to port:lzo2?

Maybe it has something to do with this line from archivers/lzo2, though I'm not certain of what it does:

set my_name lzo

comment:4 in reply to:  2 Changed 14 years ago by tonycpsu@…

Replying to ruud@…:

Have you by any chance changed the port:lzo dependency to port:lzo2?

No, I haven't changed any portfiles. I actually didn't notice that mkvtoolnix depends on lzo (instead of lzo2) when I submitted my ticket.

comment:5 Changed 13 years ago by ruud@…

This is fixed in the proposed mkvtoolnix-4.6.0 Portfile; this ticket can be closed.

comment:6 Changed 13 years ago by mf2k (Frank Schima)

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