I like to compile a cxx file with g++ compiler.
I tried with option
g++ -I<include path> -L<library path> source-file
but ending with compilation error in /usr/local/bin/gcc-lib/.../crt1.o
I think the libraries are not taken from proper path
How to compile a cxx file with libraries... (1 Reply)
I installed libxml2 library from source and it installed itself in
/usr/local/lib
i added /usr/local/lib to ld.so.conf and ran a ldconfig ( as root )
then i tried to compile tablix-0.0.3 wich does require the installed version
of libxml2
i ran ./configure ( as normal user ) and i get the... (2 Replies)
Hello all
my project is contains 2 directories, 2 directories are building library and one for the executable that using the libes from the other 2
Now what im doing is compiling first the 2 libs directories and then the main directory. But I will like to automate the process and to be able ... (0 Replies)
While installing amanda server,i got the following error
## checking lex output file root... configure: error: cannot find output from flex; giving up.
when i execute
# which lex
i got /usr/ccs/bin/lex
setting the pathg does not work too
After this i tried intalling flex in my /opt... (0 Replies)
hello everybody!
I m compiling some program with the g++ on AIX 5.3 and it needs some library that i didn't find them i am new with the AIX here is the compilation error :
g++ -Daix -fpic -o printps -lxercesc1_1 -L/oracle/OraHome/lib32/ -L/epost2/blitz/lib -lhmltods -lhmltops -lgeneric... (0 Replies)
I think the default extension on AIX is .a
so for dynamic lib "libabc.a", we can simply link against it by specifying "-labc"
but here I have a dylib which been built by some one else called "libxyz.so" on AIX. once I say "-lxyz" the linker is only looking for libxzy.a but not .so after that.... (2 Replies)
The gcc version is different on my computer than on the remote computer. An ldd on my program says:
Is there any way I can tell gcc to compile my program against my version of libc-2.7.so and ld-2.7.so (which I would provide along with the program) instead of the remote computer's libs ? (I do... (5 Replies)
Hi All,
I wanted to install an rpm package on two suse 10 systems. It installed successfully on one system but on the other it throws an error like
error: Failed dependencies:
rpmlib(PayloadIsLzma) <= 4.4.2-1 is needed by linuxProj-1-1.noarch
Now this means that rpnm... (4 Replies)
I want to create a shared lib with certain libs statically linked to it. I can generate a fully shared lib as follows:
gcc -maix64 -DHAVE_CONFIG_H -I. -I./src -DHAVE_OPENSSL -I/usr/include/openssl -I/usr/include -I/usr/include/apr-1 -D_LARGEFILE64_SOURCE -I/usr/java8_64/include -shared -o... (0 Replies)
Hello. I am looking for all the necessary packages required to be able to compile libXft.
I tried to compile libXft-2.1.8.2$ and the error message was:
checking for XRENDER... checking for XRENDER... checking for X... no
checking X11/extensions/Xrender.h usability... no
checking... (1 Reply)
Discussion started by: colt
1 Replies
LEARN ABOUT REDHAT
gtk-config
GTK+(1) 1.2.10 GTK+(1)
NAME
gtk-config - script to get information about the installed version of GTK+
SYNOPSIS
gtk-config [--prefix[=DIR]] [--exec-prefix[=DIR]] [--version] [--libs] [--cflags]
DESCRIPTION
gtk-config is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and link programs
that use GTK+. It is also used internally to the .m4 macros for GNU autoconf that are included with GTK+.
OPTIONS
gtk-config accepts the following options:
--version
Print the currently installed version of GTK+ on the standard output.
--libs Print the linker flags that are necessary to link a GTK+ program.
--cflags
Print the compiler flags that are necessary to compile a GTK+ program.
--prefix=PREFIX
If specified, use PREFIX instead of the installation prefix that GTK+ was built with when computing the output for the --cflags and
--libs options. This option is also used for the exec prefix if --exec-prefix was not specified. This option must be specified
before any --libs or --cflags options.
--exec-prefix=PREFIX
If specified, use PREFIX instead of the installation exec prefix that GTK+ was built with when computing the output for the
--cflags and --libs options. This option must be specified before any --libs or --cflags options.
SEE ALSO gimp(1), gimptool(1)COPYRIGHT
Copyright (C) 1998 Owen Taylor
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, pro-
vided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in sup-
porting documentation.
Version 25 October 1998 GTK+(1)