Hello,
(!!!) nb: Everything I say below , must be contextualized in a desktop development, with a graphic desktop, and an installation in the /home/.myAppli of a user.
The paradigm of a server (for example, a web server, with a only semi-graphic desktop like "Midnight commander", and very serious packages like Apache, Php + a framework, etc., are by the nature of their installation under the root "/', off topic with my question below.
In many forums on the net, I find that FreeBSD can easily load a *.so placed in the same directory of an application, that asks to load it (like Windows), which would be convenient.
But according to https://www.freebsd.org/cgi/man.cgi?query=ld.so , FreeBSD seems to use exactly the same ELF loader ( ld-linux.so.X) as Linux. So, it means that FreeBSD would not load - without further intervention, or program compilation directive - a library, looking first in same the application directory, like Windows which allows to keep control over the versioning of libraries used, and allows you to deliver everything in the application's directory like /home/.myAppli ( i. e. leaving all the binaries grouped together); it's this behavior that made it possible to move back what was called "DLL-hell" for a while in Windows: look the requested library(ies) would not be there, before all other directories, by a "happy chance" ? .
It's not a troll: several (not many, but at least 3) FreeBSD users told me so. Is that a false statement ? ?
Best regards,
Eric.
(!!!) nb: Everything I say below , must be contextualized in a desktop development, with a graphic desktop, and an installation in the /home/.myAppli of a user.
The paradigm of a server (for example, a web server, with a only semi-graphic desktop like "Midnight commander", and very serious packages like Apache, Php + a framework, etc., are by the nature of their installation under the root "/', off topic with my question below.
In many forums on the net, I find that FreeBSD can easily load a *.so placed in the same directory of an application, that asks to load it (like Windows), which would be convenient.
But according to https://www.freebsd.org/cgi/man.cgi?query=ld.so , FreeBSD seems to use exactly the same ELF loader ( ld-linux.so.X) as Linux. So, it means that FreeBSD would not load - without further intervention, or program compilation directive - a library, looking first in same the application directory, like Windows which allows to keep control over the versioning of libraries used, and allows you to deliver everything in the application's directory like /home/.myAppli ( i. e. leaving all the binaries grouped together); it's this behavior that made it possible to move back what was called "DLL-hell" for a while in Windows: look the requested library(ies) would not be there, before all other directories, by a "happy chance" ? .
It's not a troll: several (not many, but at least 3) FreeBSD users told me so. Is that a false statement ? ?
Best regards,
Eric.