-- Sent from mobile phone (so please have understanding) On 6 gru 2012, at 11:15, Uffe Jakobsen <uffe@uffe.org> wrote: >>> VICE@MacOSX defaults to look for libopencbm in this location "/opt/opencbm/lib/libopencbm.dylib" >> >> Now that's strange.. a hardcoded path to a nonstandard location?! I mean stuff installed with DarwinPorts goes to /opt/local/lib.. others are in /usr/lib or usr/local/lib and why to hardcode the path in the first place.. ? > > The assumption has been that most MacOSX users would use DarwinPorts (now MacPorts) as their source for OpenCBM in respect to VICE. It may well be the case (most I mean) but still: a source level hard coded path?? There are no hard coded paths for neither Linux nor Windows in the very same source file. And this is how it should be. A file in the source tree of a multiplatform application can't know where this or that lib resides on a end user system. > The fact that your library is not in that location tells me that you've pulled the OpenCBM source and built it from scratch > > Are you running OpenCBM trunk ? Actually I used ports to install OpenCBM. And the library landed (precisely as I would expect) in /opt/local/lib. If some port files place it elsewhere, that is IMHO a quasi bug to be addressed. But - as you mentioned - I could have compiled it from scratch myself. And in such case I would expect it to land in /usr/local/lib.. which would be another place that would not work. No.. hard coding paths is a bad idea, really. -- SD! Message was sent through the cbm-hackers mailing listReceived on 2012-12-06 13:00:10
Archive generated by hypermail 2.2.0.