On 02 Jul 2008, at 01:18, Jack Howarth wrote:

>    Now that the new packaging for lesstif, openmotif3 and openmotif4
> has been uplaoded into fink unstable, I would like to change over the
> existing mesa-libglw packaging to use variants so that libGLw is
> properly coupled to the motif used to build it. This will require
> existing packaging to change their mesa-libglw build dependency to
> an explict variant like mesa-libglw-openmotif3. I would appreciate
> some feedback on this modified packaging before I check it in...
>
> http://sourceforge.net/tracker/index.php? 
> func=detail&aid=1952800&group_id=17203&atid=414256

Tried _ but failed with openmotif4 ...  :

> gcc -DXNO_MTSAFE_STRINGAPI -DXNO_MTSAFE_PWDAPI -DXNO_MTSAFE_TIMEAPI  
> -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree- 
> ter -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/ 
> include -I/sw/include -o .libs/xmbind xmbind.o  -L/sw/lib ../../lib/ 
> Xm/.libs/libXm.dylib -L/usr/X11R6/lib -lXmu -lXext -lXp -lXt -lXft - 
> lX11 -lfreetype -lXrender -lfontconfig /sw/lib/libjpeg.dylib /sw/ 
> lib/libpng12.dylib -lz
> /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
> _libiconv
> _libiconv_close
> _libiconv_open
> collect2: ld returned 1 exit status


The missing flag is obvious _ and I see a probably related :
checking for iconv_open in -liconv... no
The corresponding output in config.log is OK; but :

# nm -m /sw/lib/libiconv.dylib|fgrep iconv_open
000167c0 (__TEXT,__text) non-external (was a private external)  
_iconv_open
00015fe0 (__TEXT,__text) external _libiconv_open
# nm -m /usr/lib/libiconv.dylib|fgrep iconv_open
92646373 (__TEXT,__text) external _iconv_open
92645b34 (__TEXT,__text) external _libiconv_open
(This is on 10.4 _ no idea about 10.5)

I remember vaguely having seen this type of issue (non-external in  
fink's libiconv, and one must use fink's libiconv !)
before, and how to deal with it ("explained" in the header files),  
but that escapes me right now,
and I'm sure others on this list know this issue perfectly ...

JF Mertens

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to