EDIT: apparently OF has added fPIC to the compile flags, see:
https://github.com/openframeworks/openFrameworks/pull/8262
I didn't check yet though.

Antoine



Le mar. 16 déc. 2025 à 11:30, Antoine Rousseau <[email protected]> a
écrit :

> Pof is difficult to maintain, especially on Linux, since it dynamically
> links to many different libs; each distribution comes with a different
> revision number for each lib.
> So it's virtually impossible to compile Pof in a way that it's compatible
> for every distribution.
> My current workaround is to include most of the libs in Pof distribution,
> in the pof/libs directory.
> Unfortunately FLAC is not included in those included libs, so Pof tries to
> link with system libraries, but there's no more libFLAC.so.8 in your system
> version.
> You can try to copy this lib from an older Linux distribution, try the one
> attached here (it's actually a renamed libFLAC.so.8.3.0). But it's possible
> other missing libs will appear then...
>
> The real solution would be to compile Pof for each distribution. But other
> problems arise there : openFrameworks is not yet ready for that. In
> particular, all dependency libs must be recompiled with the -fPIC flag, to
> allow building a dynamic library. I do it manually each time I want to
> update OF... and it's a PITA. I still have to ask OF to add fPIC to every
> lib compilation flag.
>
> I really hope I can find the availability to continue maintaining Pof in
> the future.
>
> Antoine
>
>
> Le mar. 16 déc. 2025 à 08:56, Alexandros Drymonitis <[email protected]> a
> écrit :
>
>> Since Pof came up in the thread below, I tried to use it and I'm getting
>> the following error:
>>
>> ```
>> /home/alex/Documents/Pd/externals/pof/pof.pd_linux:libFLAC.so.8: cannot
>> open shared object file: No such file or directory
>> ```
>>
>> I do have libflac14 on my system (Debian 13) and there's no libflac8 in
>> my system's repositories (apt-cache search libflac8 returned no results).
>> How can this be resolved? Or is Pof abandoned?
>>
>>
---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/QYQS42CWIRPOAKCRHO7EIQ2V3XAECIXX/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/

Reply via email to