Re: Missing library file?
Scott Hannahs via Fink-users <[email protected]>
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
> On Jan 28, 2023, at 6:21 AM, Hanspeter Niederstrasser <[email protected]> wrote: > > On 1/27/23 9:41 PM, Scott Hannahs via Fink-users wrote: >> Dan, >> I may have been unclear. >> What I am saying is that if I try to build teckit it fails due to not fining libexpat.dylib so that failure is at build time. >> If ir “reinstall” expat it does NOT create that library and so the failure continues. I figured a reinstall would create that symbolic link. >> Maybe I am wrong about that, and need to rebuild expat from scratch but I assumed a “reinstall” would reinstall and create the necessary symbolic links. >> So >> Fink build teckit — Fails >> Fink reinstall expat — succeeds (package is listed as up to date) >> Fink build teckit — Fails >> So as far as I can tell >>> expat1: /opt/sw/lib/libexpat.dylib >> Is not installed created etc. I *think* it is supposed to be a symbolic link to /opt/sw/lib/libexpat.1.8.1.dylib > > Run this command (one line) > dpkg-deb -c /opt/sw/fink/debs/expat1_2.4.1-1_darwin-x86_64.deb | grep dylib > > You should get something like this, which shows the unversioned symbolic link pointing to the versioned link > > ``` > lrwxr-xr-x root/admin 0 2021-07-10 07:47 ./sw/lib/libexpat.dylib -> libexpat.1.8.1.dylib > ``` > > If you don't have that line in your output, try to rebuild expat1 > fink rebuild expat1 > fink reinstall expat1 > > (you'll have to delete the /opt/sw/lib/libexpat.dylib symbolic link you created to reinstall the package w/out a file collision) > > Hanspeter That is weird. So the line is in the deb package % dpkg-deb -c /opt/sw/fink/debs/expat1_2.4.1-1_darwin-x86_64.deb | grep dylib lrwxr-xr-x root/admin 0 2021-07-28 11:25 ./opt/sw/lib/libexpat.dylib -> libexpat.1.8.1.dylib but not in the shlibs package that I expected. % dpkg-deb -c /opt/sw/fink/debs/expat1-shlibs_2.4.1-1_darwin-x86_64.deb | grep libexpat -rwxr-xr-x root/admin 200844 2021-07-28 11:25 ./opt/sw/lib/libexpat.1.8.1.dylib lrwxr-xr-x root/admin 0 2021-07-28 11:25 ./opt/sw/lib/libexpat.1.dylib -> libexpat.1.8.1.dylib I expected that the shlibs package which created the dylib file would create the symbolic links. But it is in the main package instead. I was reinstalling the wrong package. Thanks for the help. -Scott _______________________________________________ Fink-users mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-users/ Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users