From: Haris I. K. V. <blu...@gm...> - 2011-09-05 04:19:41
|
Hi David, >Is the linker on your system set up to handle libraries installed in non-standard locations? > You probably have to run ldconfig to tell ld.so where to find the library, e.g. if you have >installed t4k_commonat ~/lib/t4k_common.so, you might try "ldconfig ~/lib" (not >tested). I have my t4k_common and gettext installed at ~/tuxmath/builds/ So I ran "sudo ldconfig ~/tuxmath/builds/t4k_common-0.1.1/lib/" Then going back to my tuxmath directory which is at ~/tuxmath/tuxmath/ , I ran "./configure --prefix=/home/haris/tuxmath/builds/tuxmath/". I got the output as: configure: SDL_net not located by pkg-config, checking with AC CHECK LIB: checking for SDLNet_Init in -lSDL_net... yes checking for XML2... yes checking for T4K_COMMON... no configure: t4k_common not located by pkg-config, checking with AC CHECK LIB: checking for InitT4KCommon in -lt4k_common... no configure: error: libt4k_common is required: git:// git.debian.org/tux4kids/t4kcommon.git The above are the last few lines. >Or you could add your custom library path to /etc/ld.so.conf. I edited the file above including the line "include /home/haris/tuxmath/builds/t4k_common-0.1.1/lib/" in it. I saved it and ran ldconfig. But the same error was there. >Or youcould simply install t4k_common to the default location(/usr/local/lib) where it >should be located without difficulty (youmight have to run "ldconfig" once without >arguments the first time youdo this on your system). Look at man ldconfig. Installing in the default location would work fine as I had done it the last time. But since I'm trying to keep everything that I build from source in a custom location, I'd like to get this working. Thanks for taking the time to help me. Regards, -- Haris Ibrahim K. V. sosaysharis.wordpress.com |