pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: tcl-expect weirdness under Mac OS X



> I am trying to build dejagnu, which uses expect. The tcl-expect
> package installed fine but does not run:
> 
> /opt/pkg/bin/expect
> dyld: Library not loaded: libexpect545.so
>  Referenced from: /opt/pkg/bin/expect
>  Reason: image not found
> Trace/BPT trap: 5
> 
> $ otool -L /opt/pkg/bin/expect
> /opt/pkg/bin/expect:
> libexpect545.so (compatibility version 5.45.0, current version 5.45.0)
> /opt/pkg/lib/libtcl86.dylib (compatibility version 8.6.0, current version 8.6.4)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
> version 1225.1.1)
> 
> Looks like some kind of rpath is missing. Interestingly, there are
> several files with that name in the package:
> 
> /opt/pkg/lib/libexpect545.a
> /opt/pkg/lib/libexpect545.so
> /opt/pkg/lib/libexpect545.so.1.0
> /opt/pkg/lib/tcl/expect5.45/libexpect545.so
> 
> Do others see the same thing? Any ideas?
> 
> --Benny.

Hello Benny,

I fixed that in Makefile,v 1.32.
Thanks for heads-up. :)

Kind regards,
Adam


Home | Main Index | Thread Index | Old Index