Re: Missing library file?

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.general
Organization Snaggled Works
Message-ID <[email protected]>
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


_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.