You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Linux find_library finds a system-wide library and returns the (base) filename. ./libdiscid.so.0 is needed to access the file in the current folder ("local") (on a probably "standard" setup).
On Darwin find_library will give a full path if it finds a system-wide library, but will also find a local library already.
(installing libdiscid per cmake with sudo make install works fine, by the way)
Local libraries don't need ./ prepended, and the current folder is already preferred!
On Windows find_library will find the library (given actual file names) in the Windows system32 folder/PATH and give the full path. It also finds a library in the current folder (and gives the filename), but system-wide is preferred.
Local libraries don't need .\ prepended, but both .\ and ./ prepended work.
On Cygwin find_library finds the library system-wide (with "discid", found when in /usr/local/bin/) and returns the (base) filename. find_librarywill also find a "local" library and will prefer it. Libdiscid's cmake make install will install into /usr/local/lib, which is not found by cygwin.
However, ./cygdiscid-0.dll and .\cycdiscid-0.dllstill find a system-wide library, but only when no local library is found.
sunos5 needs ./ prepended. No further testing available.
BSD was not tested, but I guess they work the same as Linux and SunOS.
On Windows and Darwin finding libdiscid in the current folder works fine, but on Linux/Unix we have to use
./libdiscid.*
Problem found on a
sunos5
machine (sys.platform) without root access (no system-wide install) and verified onlinux
.We have to make sure that the general detection still works, of course.
The text was updated successfully, but these errors were encountered: