ericwa / ericw-tools

Quake/Hexen 2 Map compiling tools - branch of http://disenchant.net/utils
http://ericwa.github.io/ericw-tools
GNU General Public License v2.0
309 stars 56 forks source link

relative lip requirements #410

Closed victorbstan closed 5 months ago

victorbstan commented 5 months ago

I'm trying to run the Darwin version of the built executables (latest prerelease) and it seems to require that the libs be in /usr/lib/, is there a way to make the libs required relative to the executable, they seem to be there in the downloaded package.

/Users/victor/Downloads/ericw-tools-2.0.0-alpha5-Darwin/bin/maputil
  Reason: tried: '/usr/local/lib/libtbb.12.dylib' (no such file), '/usr/lib/libtbb.12.dylib' (no such file, not in dyld cache)
victorbstan commented 5 months ago

Never mind, I could put the libs in /usr/local/lib which solved the issue.

ericwa commented 5 months ago

IIRC the mac builds are broken in alpha1 through alpha5, but they'll be fixed in alpha 6 when it's released, I set up the rpath stuff correctly in this commit:

39074b8249de8670b3cdf09673ac71412f36529c