Opened 12 years ago

Closed 12 years ago

#34456 closed defect (fixed)

webkit-gtk @1.6.3_2 Runtime error - Symbol not found

Reported by: fabien.andre@… Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: dbevans (David B. Evans), arm39@…, olaf@…, MasakiOita, jeremyhu (Jeremy Huddleston Sequoia)
Port: webkit-gtk

Description

I have installed webkit-gtk @1.6.3_2+svg+video with macport 2.0.4 on Snow Leopard with Xcode 3.2.3 (gcc version 4.2.1 (Apple Inc. build 5664))

When running glade-3, the symbol _UCNV_FROM_U_CALLBACK_ESCAPE_48 is missing. The same error occurs while just launching devhelp (which depends on webkit-gtk and on which depends glade3).

$ devhelp 
dyld: Symbol not found: _UCNV_FROM_U_CALLBACK_ESCAPE_48
  Referenced from: /opt/local/lib/libwebkitgtk-1.0.0.dylib
  Expected in: flat namespace
 in /opt/local/lib/libwebkitgtk-1.0.0.dylib
Trace/BPT trap

Thoughts

This symbol seems to be provided by icu:

$ nm /opt/local/lib/libicuuc.dylib |grep _UCNV_FROM_U_CALLBACK_ESCAPE_48
0000000000014950 T _UCNV_FROM_U_CALLBACK_ESCAPE_48

but is not properly linked

$ otool -L /opt/local/bin/devhelp |grep icu
	/usr/lib/libicucore.A.dylib (compatibility version 1.0.0, current version 40.0.0)

Change History (9)

comment:1 Changed 12 years ago by arm39@…

Cc: arm39@… added

Cc Me!

comment:2 Changed 12 years ago by olaf@…

Cc: olaf@… added

Cc Me!

comment:3 Changed 12 years ago by olaf@…

gnucash is affected by this problem as well.

comment:4 Changed 12 years ago by MasakiOita

Cc: epimetheus314@… added

Cc Me!

comment:5 Changed 12 years ago by MasakiOita

FYI, I directly edited the "GNUmakefile" in ${workpath}/webkit-1.6.3 after the configure phase, adding '-licuuc' like this:

UNICODE_LIBS = -licucore -licuuc

Then building and installing as usual worked fine for me, though I don't think it's an appropriate solution.

comment:6 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Cc: jeremyhu@… added

Cc Me!

comment:7 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Owner: changed from macports-tickets@… to jeremyhu@…
Status: newassigned

Ah, I see the problem. our-icu.patch edited configure, and that got overwritten by autoreconf

comment:8 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Testing a fix now...

comment:9 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Port: devhelp removed
Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.