Jump to content

baDibere

Community Newbie
  • Posts

    2
  • Joined

  • Last visited

Everything posted by baDibere

  1. I use Pardus GNU/Linux and I prepare an unofficial PiSi(*) repository for Pardus. Unfortunately enet-old or similar one is not available for Pardus and I prepared enet12 package. Since other applications may use Enet 1.3, I want to keep it and I installed Enet 1.2 to a non-standart directory (/opt/enet12) Your solution works. But instead of tinsert(package.libpaths, libraries_dir.."/opt/enet12/lib"), I used tinsert(package.libpaths, "/opt/enet12/lib") Because, if I use previous one, something like "-L"../../../libraries//opt/enet12/lib"" is added to pyrogenesis.make. Since I changed, only "-L"/opt/enet12/lib"" is added and I think the right one is that. After compiling, "ldd pyrogenesis" says that libenet.so.0 => not found So I used LD_LIBRARY_PATH=/opt/enet12/lib ./pyrogenesis and it works. (*) PiSi is Pardus's package management system.
  2. Hi there, My distribution has only Enet 1.3 So I compiled Enet 1.2 and placed it to /opt/enet12 Before compiling 0AD, I changed source/lib/external_libs/enet.h:30 like #include "/opt/enet12/include/enet/enet.h" So there is no compilation error about enet and 0ad. But ldd pyrogenesis says that pyrogenesis needs /usr/lib/libenet.so.1. So, this is a Enet 1.3 library. What should I do to use /opt/enet12/lib/libenet.so.1 instead of /usr/lib/libenet.so.1 Regards.
×
×
  • Create New...