04-11-2008
i'm not a programmer. never was! buuuuuuuut
whenever i compile from source (being an already made pile of code) i usually see what time of library files they want. 32 or 64. take for example mysql. you can compile both 32bit or 64bit versions. it depends on your system architecture obviously and what compilers you have installed. therefore, when i go to compile, i make sure my ld_library_path is pointing to the 64 or 32bit library files (depending on what i want to compile).
and as for ./configure --prefix=*** it is up to you. if you feel you want libraries placed in prefix/lib and executables in prefix/bin then do that. i believe /usr/local is the default prefix.
10 More Discussions You Might Find Interesting
1. Linux
Hi Friends !
Where can I get free ct-lib for Lynix ??
My problem is something like this--
Sybase server is running on a Solaris machine.
Now I trying to access the Sybase from a Lynix machine for which i need ct-lib. I tried by downloading some free ct-libs for Lynix on the net, but they... (2 Replies)
Discussion started by: mrgubbala
2 Replies
2. UNIX for Advanced & Expert Users
i download a boost library from net on/by window machine...i am using telnet connection.then how can i untar/compile/install boost library to /usr/local/lib...on my unix machine. (1 Reply)
Discussion started by: prangin
1 Replies
3. Programming
Hi,
I am on Fedora9 and need to do some simple 2D graphics (for game development). I am looking for an ideal 2D library/package to be used with GCC.
I have come accross GRX, libmxi and some OpenGL (The 3D), but none of which seems to be ok.
I could not find any tutorial or support material... (1 Reply)
Discussion started by: nasersh
1 Replies
4. UNIX for Advanced & Expert Users
Hi all,
(gdb) target remote 192.168.185.196:1389
Remote debugging using 192.168.185.196:1389
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
0x2fbd0800 in ?? ()
(gdb) l
1 ... (0 Replies)
Discussion started by: yanglei_fage
0 Replies
5. Programming
Hello,
I'm trying to use gd with c++ in linux. Previously, I had already succeed using the gd lib in windows through gdwin32. Now I would like to run the program in linux but i'm not sure how to do it. I'm currently try running it in cygwin, but I couldn't compiled it. Any suggestion? (3 Replies)
Discussion started by: shahrulb
3 Replies
6. Red Hat
Hello,
I'm experimenting a problem on my rh server.
Red Hat Enterprise Linux AS release 3 (Taroon Update 8)
2.4.21-47.ELsmp #1 SMP i686 i686 i386 GNU/Linux
It started with a segmentation fault on
#id root
To resolve it, I've installed
coreutils-4.5.3-28.4.i386.rpm
But, I... (6 Replies)
Discussion started by: gogol_bordello
6 Replies
7. Red Hat
Hai dear,
I am installing some application on linux RedHat 9
It gives me following discrepancies
lib.so.6 (GLIBC_2.3.4) needed
lib.so.6 (GLIBC_2.4) needed
libpthread.so.0(GLIBC_2.3.3) needed
rtld(GNU_HASH) needed
i tried to search a lot on internet to find relative rpm for these libs... (3 Replies)
Discussion started by: Danish Shakil
3 Replies
8. AIX
Hi...please help with command to find the library version on AIX server
---------- Post updated at 12:50 PM ---------- Previous update was at 12:31 PM ----------
AIX version is 6.1.Please (4 Replies)
Discussion started by: Sanal
4 Replies
9. AIX
Hi All,
I am trying to install IIS Suite application on AIX box. It gave an error as below
Ensure the following libraries do not exist: /usr/lib/libicuio.a, /usr/lib/libicuuc.a, /usr/lib/libicui18n.a. These libraries may cause uvsh to not work properly.
I manually removed these files by... (1 Reply)
Discussion started by: tostay2003
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
I have root access and user name called prod. but it doesn't matter which user I log in as. But I can't CD to the directory. Can you advise.
dr-xr-xr-x 1 root root 1 Sep 12 15:40 lib
$id
uid=4902(prod) gid=50(develop)
$cd lib
-bash: cd: lib: Permission... (7 Replies)
Discussion started by: samnyc
7 Replies
LEARN ABOUT CENTOS
ld.hugetlbfs
LD.HUGETLBFS(1) General Commands Manual LD.HUGETLBFS(1)
NAME
ld.hugetlbfs - link a program for huge pages
SYNOPSIS
ld.hugetlbfs [options]
DESCRIPTION
ld.hugetlbfs replaces the normal ld command for linking programs to use hugepages. Under gcc, you should use the option -B /usr/share/lib-
hugetlbfs which tells gcc to look in a non-standard location for the linker. This could be set in the CFLAGS environment variable.
-Wl,--hugetlbfs-align
This method of linking an application permits greater flexibility at runtime. Using HUGETLB_ELFMAP, it is possible to control which
program segments are placed in hugepages. The following four settings will cause the indicated segments to be placed in hugepages:
HUGETLB_ELFMAP=R Read-only segments (text)
HUGETLB_ELFMAP=W Writable segments (data/BSS)
HUGETLB_ELFMAP=RW All segments (text/data/BSS)
HUGETLB_ELFMAP=no No segments
It is possible to select specific huge page sizes for read-only and writable segments by using the following advanced syntax:
HUGETLB_ELFMAP=[R[=<pagesize>]:[W[=<pagesize>]]
-Wl,--hugetlbfs-link=B
Under binutils 2.16 or older, this option will link the application to store BSS data (only) into hugepages.
-Wl,--hugetlbfs-link=BDT
Under binutils 2.16 or older, this option will link the application to store text, initialized data and BSS data into hugepages.
FILES
[DESTDIR|/usr/share]/doc/libhugetlbfs/HOWTO
SEE ALSO
libhugetlbfs(7), hugectl(8), hugeedit(8)
AUTHORS
libhugetlbfs was written by various people on the libhugetlbfs-devel mailing list.
March 12, 2012 LD.HUGETLBFS(1)