I know it sees my custom dir, I ran this in racket: > (require setup/dirs) > (get-lib-search-dirs) '(#<path:/home/wise/.local/share/racket/7.9/lib> #<path:/usr/local/lib/racket> #<path:/home/wise/root/lib>)
On Friday, May 7, 2021 at 8:08:26 AM UTC-4 [email protected] wrote: > I'm so close :) > > I installed taglib locally to /home/wise/root/lib, so I *have* the file > exactly as racket is complaining about: > /home/wise/root/lib/libtag_c.so.0 > > I used your config example to edit (as root) /etc/racket/config.rktd > I added the "lib-search-dirs" line, so it looks like: > ;; generated by unixstyle-install > #hash( > (doc-dir . "/usr/local/share/doc/racket") > (lib-dir . "/usr/local/lib/racket") > (share-dir . "/usr/local/share/racket") > (include-dir . "/usr/local/include/racket") > (bin-dir . "/usr/local/bin") > (apps-dir . "/usr/local/share/applications") > (man-dir . "/usr/local/man") > (absolute-installation? . #t) > (build-stamp . "") > (doc-search-url . " > https://download.racket-lang.org/releases/7.9/doc/local-redirect/index.html > ") > (catalogs . ("https://download.racket-lang.org/releases/7.9/catalog/ > ")) > (lib-search-dirs . (#f "/home/wise/root/lib")) > ) > > I still get the error: > Welcome to Racket v7.9 [cs]. > > > (require taglib) > ; ffi-lib: could not load foreign library > ; path: libtag_c.so.0 > ; system error: File not found > ; [,bt for context] > > I'm still poking at it, thanks again for the help. > > On Thursday, May 6, 2021 at 11:41:03 PM UTC-4 [email protected] wrote: > >> Thanks for the help! >> I was sure that was going to be it but it's not :( >> >> This is what is on my system: >> /usr/local/lib/libtag_c.so.3.0 >> >> racket is looking for libtag_c.so.0 >> >> So i'm not sure what to do next. >> >> On Thursday, May 6, 2021 at 7:21:10 PM UTC-4 johnbclements wrote: >> >>> It looks to me like you probably need to edit your “config.rktd” file: >>> >>> >>> https://docs.racket-lang.org/raco/config-file.html?q=config.rktd#%28idx._%28gentag._67._%28lib._scribblings%2Fraco%2Fraco..scrbl%29%29%29 >>> >>> >>> On my machine (macOS using macports), for instance I have do do this for >>> every new installation of drracket: >>> >>> - edit <config-dir>/config.rktd to contain >>> (lib-search-dirs . (#f "/opt/local/lib”)) >>> >>> Let me know if I misunderstood your situation! >>> >>> John Clements >>> >>> >>> > On May 6, 2021, at 3:54 AM, [email protected] <[email protected]> >>> wrote: >>> > >>> > >>> > Hi!, >>> > >>> > I am doing: (require taglib) and I get: >>> > > (require taglib) >>> > ; ffi-lib: could not load foreign library >>> > ; path: libtag_c.so.0 >>> > ; system error: File not found >>> > ; [,bt for context] >>> > >>> > I am on OpenBSD and that file is at: >>> > /usr/local/lib/libtag_c.so.3.0 >>> > >>> > How can I change my search path for C libs to be /usr/local ? >>> > >>> > -- >>> > You received this message because you are subscribed to the Google >>> Groups "Racket Users" group. >>> > To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> > To view this discussion on the web visit >>> https://groups.google.com/d/msgid/racket-users/b8425f0a-6d45-4954-9e32-df51aa5151cbn%40googlegroups.com. >>> >>> >>> >>> -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/racket-users/59a44f94-5931-46cd-ba3b-039c02a47076n%40googlegroups.com.

