libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

libtool: install: error: cannot install `libdirectfb.la' to a directory


From: shawn xy Bai
Subject: libtool: install: error: cannot install `libdirectfb.la' to a directory not ending in(a forward mail)
Date: Tue, 23 Jul 2013 11:26:02 +0800

Hi, libtool mailing-list,

Here is a libtool issue, but libtool is used in directfb source, so I
have sent this mail to directfb-user mailing-list a period ago, and I
found there were no discusses in directfb-user mailing-list in July,
so I'd better forward this mail to the libtool mailing-list.

I'm new to libtool, and I really need your help about this issue.

Any suggestions will be appreciated.


Thanks advance.



---------- Forwarded message ----------
From: shawn xy Bai <address@hidden>
Date: Tue, Jul 23, 2013 at 10:16 AM
Subject: Re: libtool: install: error: cannot install `libdirectfb.la'
to a directory not ending in
To: "address@hidden" <address@hidden>
Cc: "address@hidden" <address@hidden>


Sorry,  supplement others components' info

freetype-2.4.10
jpeg-8
libpng-1.5.12
zlib-1.2.3

thanks.


On Tue, Jul 23, 2013 at 10:07 AM, shawn Bai <address@hidden> wrote:
Hi, there,

    Recently, I'm working on cross-compiling the directfb 1.6.1 for
MIPS32r2 architecture.

    I have encountered a problem during this process. I've got stuck
on this issue for 2 weeks.

    I'm not very sure, whether it should be sent to the directfb-user
mailing-list or the GNU libtool mailing-list.

    But I guess it's in directfb, so, sending the mail to the
directfb-user mailing-list should be my first choice.

    There is so much infos below, and I'm very sorry about that.

    I really need your help, thanks so much in advance.


 First, here is the error infos, also I have notice that the libdir is
empty, but in fact it should be that, isn't it?

libtool: link: /usr/local/codesourcery/mips-4.3/bin/mips-linux-gnu-ranlib
.libs/libdirectfb.a
> libtool: link: rm -fr .libs/libdirectfb.lax .libs/libdirectfb.lax
> libtool: link: ( cd ".libs" && rm -f "libdirectfb.la" && ln -s 
> "../libdirectfb.la" "libdirectfb.la" )
> make[3]: Entering directory `/home/fed/packages/libs_misc/DirectFB-1.6.1/src'
> test -z "/home/xbai/mtapi/libs_misc/result/lib" || /bin/mkdir -p 
> "/home/xbai/mtapi/libs_misc/result/lib"
> .........AM_LIBTOOLFLAGS is ....LIBTOOLFLAGS is .......  libdirectfb.la.... 
> destdir-'' libdir-'/home/xbai/mtapi/libs_misc/result/lib'
>  /bin/sh ../libtool   --mode=install /usr/bin/install -c   libdirectfb.la 
> '/home/xbai/mtapi/libs_misc/result/lib'
> .....................relink_command is (cd 
> /home/fed/packages/libs_misc/DirectFB-1.6.1/src; /bin/sh 
> /home/fed/packages/libs_misc/DirectFB-1.6.1/libtool  --tag CXX --mode=relink 
> /usr/local/codesourcery/mips-4.3/bin/mips-linux-gnu-g++ -EL -Wall 
> -Wno-strict-aliasing 
> -I/usr/local/codesourcery/mips-4.3/mips-linux-gnu/include/ 
> -I/home/xbai/mtapi/libs_misc/result/include -muclibc -O2 -g2 -ffast-math 
> -pipe -I/usr/local/codesourcery/mips-4.3/mips-linux-gnu/include/ 
> -I/home/xbai/mtapi/libs_misc/result/include -muclibc -D_GNU_SOURCE 
> -version-info 0:1:0 -release 1.6 -L/home/xbai/mtapi/libs_misc/result/lib 
> -L/usr/local/codesourcery/mips-4.3/lib/gcc/mips-linux-gnu/4.3.3/el/ 
> -L/usr/local/codesourcery/mips-4.3/mips-linux-gnu/libc/uclibc/el/lib/ 
> -L/usr/local/codesourcery/mips-4.3/mips-linux-gnu/libc/uclibc/el/usr/lib/ 
> -muclibc -L/home/xbai/mtapi/libs_misc/result/lib/ -Wl,-rpath 
> -Wl,/home/xbai/mtapi/libs_misc/result/lib -Wl,-rpath-link 
> -Wl,/home/xbai/mtapi/libs_misc/result/ -L/home/xbai/temp/lib 
> -L/home/xbai/temp//home/xbai/mtapi/libs_misc/result/lib 
> -L/home/xbai/mtapi/libs_misc/result/lib 
> -L/home/xbai/mtapi/libs_misc/result/lib 
> -L/usr/local/codesourcery/mips-4.3/lib/gcc/mips-linux-gnu/4.3.3/el/ 
> -L/usr/local/codesourcery/mips-4.3/mips-linux-gnu/libc/uclibc/el/lib/ 
> -L/usr/local/codesourcery/mips-4.3/mips-linux-gnu/libc/uclibc/el/usr/lib/ 
> -muclibc -L/home/xbai/mtapi/libs_misc/result/lib/ -Wl,-rpath 
> -Wl,/home/xbai/mtapi/libs_misc/result/lib -Wl,-rpath-link 
> -Wl,/home/xbai/mtapi/libs_misc/result/ -L/home/xbai/temp/lib 
> -L/home/xbai/temp//home/xbai/mtapi/libs_misc/result/lib 
> -L/home/xbai/mtapi/libs_misc/result/lib -o libdirectfb.la -rpath-link 
> /home/xbai/mtapi/libs_misc/result/lib idirectfb.lo directfb.lo 
> directfb_result.lo dummy.lo init.lo core/libdirectfb_core.la 
> display/libdirectfb_display.la windows/libdirectfb_windows.la 
> media/libdirectfb_media.la input/libdirectfb_input.la 
> misc/libdirectfb_misc.la gfx/libdirectfb_gfx.la ../lib/direct/libdirect.la 
> ../lib/fusion/libfusion.la -ldl -lrt -lpthread 
> -L/usr/local/codesourcery/mips-4.3/mips-linux-gnu/libc/uclibc/el/lib 
> -L/usr/local/codesourcery/mips-4.3/mips-linux-gnu/libc/uclibc/el/usr/lib 
> -L/home/xbai/mtapi/libs_misc/result/lib @inst_prefix_dir@)
> .....................destdir is /home/xbai/mtapi/libs_misc/result/lib
> .....................libdir is
> .....................inst_prefix_dir is /home/xbai/mtapi/libs_misc/result/lib
> libtool: install: error: cannot install `libdirectfb.la' to a directory not 
> ending in
> make[3]: *** [install-libLTLIBRARIES] Error 1
> make[3]: Leaving directory `/home/fed/packages/libs_misc/DirectFB-1.6.1/src'
> make[2]: *** [install-am] Error 2
> make[2]: Leaving directory `/home/fed/packages/libs_misc/DirectFB-1.6.1/src'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/home/fed/packages/libs_misc/DirectFB-1.6.1/src'
> make: *** [install-recursive] Error 1
>
>
> But, it seems the similar operation in directfb-1.6.1/lib/fusion is running 
> well, in which tag is CXX, different from the tag CC in the error operation,  
> below is a contrast
>
>
> libtool: link: (cd ".libs" && rm -f "libfusion-1.6.so.0" && ln -s 
> "libfusion-1.6.so.0.0.1" "libfusion-1.6.so.0")
> libtool: link: (cd ".libs" && rm -f "libfusion.so" && ln -s 
> "libfusion-1.6.so.0.0.1" "libfusion.so")
> libtool: link: ( cd ".libs" && rm -f "libfusion.la" && ln -s 
> "../libfusion.la" "libfusion.la" )
> make[4]: Entering directory 
> `/home/fed/packages/libs_misc/DirectFB-1.6.1/lib/fusion'
> rm -rf /home/xbai/mtapi/libs_misc/result/include/directfb-internal/core/fusion
> rm -rf /home/xbai/mtapi/libs_misc/result/include/directfb-internal/fusion
> test -z "/home/xbai/mtapi/libs_misc/result/lib" || /bin/mkdir -p 
> "/home/xbai/mtapi/libs_misc/result/lib"
>  .......................  libfusion.la destdir-'' 
> libdir-'/home/xbai/mtapi/libs_misc/result/lib'
>  /bin/sh ../../libtool   --mode=install /usr/bin/install -c   libfusion.la 
> '/home/xbai/mtapi/libs_misc/result/lib'
> .....................relink_command is (cd 
> /home/fed/packages/libs_misc/DirectFB-1.6.1/lib/fusion; /bin/sh 
> /home/fed/packages/libs_misc/DirectFB-1.6.1/libtool  --tag CC --mode=relink 
> /usr/local/codesourcery/mips-4.3/bin/mips-linux-gnu-gcc -EL -Wall 
> -Wstrict-prototypes -Wmissing-prototypes -Wno-strict-aliasing 
> -Werror-implicit-function-declaration -O2 -g2 -ffast-math -pipe 
> -I/usr/local/codesourcery/mips-4.3/mips-linux-gnu/include/ 
> -I/home/xbai/mtapi/libs_misc/result/include -muclibc -D_GNU_SOURCE -std=gnu99 
> -Werror-implicit-function-declaration -version-info 0:1:0 -release 1.6 
> -L/home/xbai/mtapi/libs_misc/result/lib 
> -L/usr/local/codesourcery/mips-4.3/lib/gcc/mips-linux-gnu/4.3.3/el/ 
> -L/usr/local/codesourcery/mips-4.3/mips-linux-gnu/libc/uclibc/el/lib/ 
> -L/usr/local/codesourcery/mips-4.3/mips-linux-gnu/libc/uclibc/el/usr/lib/ 
> -muclibc -L/home/xbai/mtapi/libs_misc/result/lib/ -Wl,-rpath 
> -Wl,/home/xbai/mtapi/libs_misc/result/lib -Wl,-rpath-link 
> -Wl,/home/xbai/mtapi/libs_misc/result/ -L/home/xbai/temp/lib 
> -L/home/xbai/temp//home/xbai/mtapi/libs_misc/result/lib 
> -L/home/xbai/mtapi/libs_misc/result/lib 
> -L/home/xbai/mtapi/libs_misc/result/lib 
> -L/usr/local/codesourcery/mips-4.3/lib/gcc/mips-linux-gnu/4.3.3/el/ 
> -L/usr/local/codesourcery/mips-4.3/mips-linux-gnu/libc/uclibc/el/lib/ 
> -L/usr/local/codesourcery/mips-4.3/mips-linux-gnu/libc/uclibc/el/usr/lib/ 
> -muclibc -L/home/xbai/mtapi/libs_misc/result/lib/ -Wl,-rpath 
> -Wl,/home/xbai/mtapi/libs_misc/result/lib -Wl,-rpath-link 
> -Wl,/home/xbai/mtapi/libs_misc/result/ -L/home/xbai/temp/lib 
> -L/home/xbai/temp//home/xbai/mtapi/libs_misc/result/lib 
> -L/home/xbai/mtapi/libs_misc/result/lib -o libfusion.la -rpath 
> /home/xbai/mtapi/libs_misc/result/lib arena.lo call.lo fusion.lo lock.lo 
> object.lo property.lo reactor.lo ref.lo conf.lo hash.lo init.lo shmalloc.lo 
> vector.lo shm/libfusion_shm.la ../direct/libdirect.la -ldl -lrt -lpthread 
> -L/usr/local/codesourcery/mips-4.3/mips-linux-gnu/libc/uclibc/el/lib 
> -L/usr/local/codesourcery/mips-4.3/mips-linux-gnu/libc/uclibc/el/usr/lib 
> -L/home/xbai/mtapi/libs_misc/result/lib @inst_prefix_dir@)
> .....................destdir is /home/xbai/mtapi/libs_misc/result/lib
> .....................libdir is /home/xbai/mtapi/libs_misc/result/lib
> .....................inst_prefix_dir is
> libtool: install: warning: relinking `libfusion.la'
>
>
>     
> -----------------------------------------------------------------------------------------------------------------
>     Below is the shell script to run for building directfb 1.6.1
>
> #! /bin/bash
>
> export CODESOURCERY_ROOT=/usr/local/codesourcery/mips-4.3
> export CODESOURCERY_GCC_VERSION=4.3.3
>
> export PREFIX="/home/xbai/mtapi/libs_misc/result"
> export CC="$CODESOURCERY_ROOT/bin/mips-linux-gnu-gcc -EL"
>
> export AR=$CODESOURCERY_ROOT/bin/mips-linux-gnu-ar
>
> export RANLIB=$CODESOURCERY_ROOT/bin/mips-linux-gnu-ranlib
>
> export LD=$CODESOURCERY_ROOT/bin/mips-linux-gnu-ld
>
> export AS="$CODESOURCERY_ROOT/bin/mips-linux-gnu-as -EL"
>
> export LDFLAGS="-L$PREFIX/lib 
> -L$CODESOURCERY_ROOT/lib/gcc/mips-linux-gnu/$CODESOURCERY_GCC_VERSION/el/ 
> -L$CODESOURCERY_ROOT/mips-linux-gnu/libc/uclibc/el/lib/ 
> -L$CODESOURCERY_ROOT/mips-linux-gnu/libc/uclibc/el/usr/lib/ -muclibc 
> -L$PREFIX/lib/  -Wl,-rpath -Wl,$PREFIX/lib -Wl,-rpath-link -Wl,$PREFIX/ 
> -L/home/xbai/temp/lib -L/home/xbai/temp/$PREFIX/lib -L$PREFIX/lib"
>
> # NOTEssssssssssssssssssssssssssssssssssssssssssssssssssssssss
> #If you ever happen to want to link against installed libraries
> #in a given directory, LIBDIR, you must either use libtool, and
> #specify the full pathname of the library, or use the `-LLIBDIR'
> #flag during linking and do at least one of the following:
> #   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
> #     during execution
> #   - add LIBDIR to the `LD_RUN_PATH' environment variable
> #     during linking
> #   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
> #   - have your system administrator add LIBDIR to `/etc/ld.so.conf'
> # NOTEssssssssssssssssssssssssssssssssssssssssssssssssssssssss
>
>
> export CPPFLAGS=-I$CODESOURCERY_ROOT/mips-linux-gnu/include
>
> export CXX="$CODESOURCERY_ROOT/bin/mips-linux-gnu-g++ -EL"
> export CFLAGS="-I$CODESOURCERY_ROOT/mips-linux-gnu/include/ -I$PREFIX/include 
> -muclibc"
>
> export CXXFLAGS="-I$CODESOURCERY_ROOT/mips-linux-gnu/include/ 
> -I$PREFIX/include -muclibc"
>
> export LIBS="-L$CODESOURCERY_ROOT/mips-linux-gnu/libc/uclibc/el/lib 
> -L$CODESOURCERY_ROOT/mips-linux-gnu/libc/uclibc/el/usr/lib -L$PREFIX/lib"
>
> export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig/
>
> export PATH=$CODESOURCERY_ROOT/bin:$PATH
>
> export 
> LD_LIBRARY_PATH="$CODESOURCERY_ROOT/mips-linux-gnu/libc/uclibc/el/lib:$CODESOURCERY_ROOT/mips-linux-gnu/libc/uclibc/el/usr/lib:$CODESOURCERY_ROOT/mips-linux-gnu/lib:$CODESOURCERY_ROOT/lib/gcc/mips-linux-gnu/$CODESOURCERY_GCC_VERSION/el:$PREFIX/lib/:/usr/local/lib:$PREFIX/lib"
>
> unset DESTDIR
> make clean && ./configure --host=mips-linux-gnu --prefix=$PREFIX 
> --enable-fbdev --enable-jpeg --enable-freetype --disable-gif --disable-voodoo 
> --disable-sse --enable-png --disable-x11 have_linux=yes 
> --with-gfxdrivers=vmware --with-inputdrivers=linuxinput --disable-sdl 
> --enable-shared --disable-video4linux --without-tools --with-tests=yes && 
> make clean && cp -rf libtool.b libtool && make V=1 install
>
>
> -----------------------------------------------------------------------------------------------------------------
> Below is the config of the libtool in the directfb source root directy
>
> address@hidden DirectFB-1.6.1]# libtool --config
>
> # Libtool was configured on host x86-6.fedora.phx.redhat.com:
>
> # Shell to use when invoking shell scripts.
> SHELL="/bin/sh"
>
> # Whether or not to build shared libraries.
> build_libtool_libs=yes
>
> # Whether or not to build static libraries.
> build_old_libs=yes
>
> # Whether or not to add -lc for building shared libraries.
> build_libtool_need_lc=no
>
> # Whether or not to disallow shared libs when runtime libs are static
> allow_libtool_libs_with_static_runtimes=no
>
> # Whether or not to optimize for fast installation.
> fast_install=yes
>
> # The host system.
> host_alias=
> host=i686-pc-linux-gnu
> host_os=linux-gnu
>
> # The build system.
> build_alias=
> build=i686-pc-linux-gnu
> build_os=linux-gnu
>
> # An echo program that does not interpret backslashes.
> echo="echo"
>
> # The archiver.
> AR="ar"
> AR_FLAGS="cru"
>
> # A C compiler.
> LTCC="gcc"
>
> # LTCC compiler flags.
> LTCFLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions 
> -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic 
> -fasynchronous-unwind-tables -fPIC"
>
> # A language-specific compiler.
> CC="gcc"
>
> # Is the compiler the GNU C compiler?
> with_gcc=yes
>
> # An ERE matcher.
> EGREP="/bin/grep -E"
>
> # The linker used to build libraries.
> LD="/usr/bin/ld"
>
> # Whether we need hard or soft links.
> LN_S="ln -s"
>
> # A BSD-compatible nm program.
> NM="/usr/bin/nm -B"
>
> # A symbol stripping program
> STRIP="strip"
>
> # Used to examine libraries when file_magic_cmd begins "file"
> MAGIC_CMD=file
>
> # Used on cygwin: DLL creation program.
> DLLTOOL="dlltool"
>
> # Used on cygwin: object dumper.
> OBJDUMP="objdump"
>
> # Used on cygwin: assembler.
> AS="as"
>
> # The name of the directory that contains temporary libtool files.
> objdir=.libs
>
> # How to create reloadable object files.
> reload_flag=" -r"
> reload_cmds="\$LD\$reload_flag -o \$output\$reload_objs"
>
> # How to pass a linker flag through the compiler.
> wl="-Wl,"
>
> # Object file suffix (normally "o").
> objext="o"
>
> # Old archive suffix (normally "a").
> libext="a"
>
> # Shared library suffix (normally ".so").
> shrext_cmds='.so'
>
> # Executable file suffix (normally "").
> exeext=""
>
> # Additional compiler flags for building library objects.
> pic_flag=" -fPIC -DPIC"
> pic_mode=default
>
> # What is the maximum length of a command?
> max_cmd_len=98304
>
> # Does compiler simultaneously support -c and -o options?
> compiler_c_o="yes"
>
> # Must we lock files when doing compilation?
> need_locks="no"
>
> # Do we need the lib prefix for modules?
> need_lib_prefix=no
>
> # Do we need a version for libraries?
> need_version=no
>
> # Whether dlopen is supported.
> dlopen_support=yes
>
> # Whether dlopen of programs is supported.
> dlopen_self=yes
>
> # Whether dlopen of statically linked programs is supported.
> dlopen_self_static=no
>
> # Compiler flag to prevent dynamic linking.
> link_static_flag="-static"
>
> # Compiler flag to turn off builtin functions.
> no_builtin_flag=" -fno-builtin"
>
> # Compiler flag to allow reflexive dlopens.
> export_dynamic_flag_spec="\${wl}--export-dynamic"
>
> # Compiler flag to generate shared objects directly from archives.
> whole_archive_flag_spec="\${wl}--whole-archive\$convenience 
> \${wl}--no-whole-archive"
>
> # Compiler flag to generate thread-safe objects.
> thread_safe_flag_spec=""
>
> # Library versioning type.
> version_type=linux
>
> # Format of library name prefix.
> libname_spec="lib\$name"
>
> # List of archive names.  First name is the real one, the rest are links.
> # The last name is the one that the linker finds with -lNAME.
> library_names_spec="\${libname}\${release}\${shared_ext}\$versuffix 
> \${libname}\${release}\${shared_ext}\$major \$libname\${shared_ext}"
>
> # The coded name of the library, if different from the real name.
> soname_spec="\${libname}\${release}\${shared_ext}\$major"
>
> # Commands used to build and install an old-style archive.
> RANLIB="ranlib"
> old_archive_cmds="\$AR \$AR_FLAGS \$oldlib\$oldobjs~\$RANLIB \$oldlib"
> old_postinstall_cmds="chmod 644 \$oldlib~\$RANLIB \$oldlib"
> old_postuninstall_cmds=""
>
> # Create an old-style archive from a shared archive.
> old_archive_from_new_cmds=""
>
> # Create a temporary old-style archive to link instead of a shared archive.
> old_archive_from_expsyms_cmds=""
>
> # Commands used to build and install a shared archive.
> archive_cmds="\$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname 
> \$wl\$soname -o \$lib"
> archive_expsym_cmds="\$echo \\\"{ global:\\\"> \$output_objdir/\$libname.ver~
>   cat \$export_symbols | sed -e \\\"s/\\\\(.*\\\\)/\\\\1;/\\\">> 
> \$output_objdir/\$libname.ver~
>   \$echo \\\"local: *; };\\\">> \$output_objdir/\$libname.ver~
>           \$CC -shared \$libobjs \$deplibs \$compiler_flags \${wl}-soname 
> \$wl\$soname \${wl}-version-script \${wl}\$output_objdir/\$libname.ver -o 
> \$lib"
> postinstall_cmds=""
> postuninstall_cmds=""
>
> # Commands used to build a loadable module (assumed same as above if empty)
> module_cmds=""
> module_expsym_cmds=""
>
> # Commands to strip libraries.
> old_striplib="strip --strip-debug"
> striplib="strip --strip-unneeded"
>
> # Dependencies to place before the objects being linked to create a
> # shared library.
> predep_objects=""
>
> # Dependencies to place after the objects being linked to create a
> # shared library.
> postdep_objects=""
>
> # Dependencies to place before the objects being linked to create a
> # shared library.
> predeps=""
>
> # Dependencies to place after the objects being linked to create a
> # shared library.
> postdeps=""
>
> # The directories searched by this compiler when creating a shared
> # library
> compiler_lib_search_dirs=""
>
> # The library search path used internally by the compiler when linking
> # a shared library.
> compiler_lib_search_path=""
>
> # Method to check whether dependent libraries are shared objects.
> deplibs_check_method="pass_all"
>
> # Command to use when deplibs_check_method == file_magic.
> file_magic_cmd="\$MAGIC_CMD"
>
> # Flag that allows shared libraries with undefined symbols to be built.
> allow_undefined_flag=""
>
> # Flag that forces no undefined symbols.
> no_undefined_flag=""
>
> # Commands used to finish a libtool library installation in a directory.
> finish_cmds="PATH=\\\"\\\$PATH:/sbin\\\" ldconfig -n \$libdir"
>
> # Same as above, but a single script fragment to be evaled but not shown.
> finish_eval=""
>
> # Take the output of nm and produce a listing of raw symbols and C names.
> global_symbol_pipe="sed -n -e 's/^.*[   ]\\([ABCDGIRSTW][ABCDGIRSTW]*\\)[     
>   ][      ]*\\([_A-Za-z][_A-Za-z0-9]*\\)\$/\\1 \\2 \\2/p'"
>
> # Transform the output of nm in a proper C declaration
> global_symbol_to_cdecl="sed -n -e 's/^. .* \\(.*\\)\$/extern int \\1;/p'"
>
> # Transform the output of nm in a C name address pair
> global_symbol_to_c_name_address="sed -n -e 's/^: \\([^ ]*\\) \$/  
> {\\\"\\1\\\", (lt_ptr) 0},/p' -e 's/^[BCDEGRST] \\([^ ]*\\) \\([^ ]*\\)\$/  
> {\"\\2\", (lt_ptr) \\&\\2},/p'"
>
> # This is the shared library runtime path variable.
> runpath_var=LD_RUN_PATH
>
> # This is the shared library path variable.
> shlibpath_var=LD_LIBRARY_PATH
>
> # Is shlibpath searched before the hard-coded library search path?
> shlibpath_overrides_runpath=no
>
> # How to hardcode a shared library path into an executable.
> hardcode_action=immediate
>
> # Whether we should hardcode library paths into libraries.
> hardcode_into_libs=yes
>
> # Flag to hardcode $libdir into a binary during linking.
> # This must work even if $libdir does not exist.
> hardcode_libdir_flag_spec="\${wl}--rpath \${wl}\$libdir"
>
> # If ld is used when linking, flag to hardcode $libdir into
> # a binary during linking. This must work even if $libdir does
> # not exist.
> hardcode_libdir_flag_spec_ld=""
>
> # Whether we need a single -rpath flag with a separated argument.
> hardcode_libdir_separator=""
>
> # Set to yes if using DIR/libNAME during linking hardcodes DIR into the
> # resulting binary.
> hardcode_direct=no
>
> # Set to yes if using the -LDIR flag during linking hardcodes DIR into the
> # resulting binary.
> hardcode_minus_L=no
>
> # Set to yes if using SHLIBPATH_VAR=DIR during linking hardcodes DIR into
> # the resulting binary.
> hardcode_shlibpath_var=unsupported
>
> # Set to yes if building a shared library automatically hardcodes DIR into 
> the library
> # and all subsequent libraries and executables linked against it.
> hardcode_automatic=no
>
> # Variables whose values should be saved in libtool wrapper scripts and
> # restored at relink time.
> variables_saved_for_relink="PATH LD_LIBRARY_PATH LD_RUN_PATH GCC_EXEC_PREFIX 
> COMPILER_PATH LIBRARY_PATH"
>
> # Whether libtool must link a program against all its dependency libraries.
> link_all_deplibs=unknown
>
> # Compile-time system search path for libraries
> sys_lib_search_path_spec="/usr/lib /lib /usr/local/lib"
>
> # Run-time system search path for libraries
> sys_lib_dlsearch_path_spec="/usr/lib /lib "
>
> # Fix the shell variable $srcfile for the compiler.
> fix_srcfile_path=""
>
> # Set to yes if exported symbols are required.
> always_export_symbols=no
>
> # The commands to list exported symbols.
> export_symbols_cmds="\$NM \$libobjs \$convenience | \$global_symbol_pipe | 
> \$SED 's/.* //' | sort | uniq> \$export_symbols"
>
> # The commands to extract the exported symbol list from a shared archive.
> extract_expsyms_cmds=""
>
> # Symbols that should not be listed in the preloaded symbols.
> exclude_expsyms="_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*"
>
> # Symbols that must always be exported.
> include_expsyms=""
>
> address@hidden DirectFB-1.6.1]#
>
>
> -----------------------------------------------------------------------------------------------------------------
> Below is my environment variables
>
> address@hidden DirectFB-1.6.1]# export
> declare -x CCACHE_DIR="/var/cache/ccache"
> declare -x CCACHE_UMASK="002"
> declare -x CVS_RSH="ssh"
> declare -x CXXFLAGS="-I/mips-linux-gnu/include/ -I/include -muclibc"
> declare -x DESTDIR="/home/xbai/temp"
> declare -x G_BROKEN_FILENAMES="1"
> declare -x HISTSIZE="1000"
> declare -x HOME="/root"
> declare -x HOSTNAME="xbai"
> declare -x INPUTRC="/etc/inputrc"
> declare -x KDEDIRS="/usr"
> declare -x KDE_IS_PRELINKED="1"
> declare -x LANG="en_US.UTF-8"
> declare -x LDFLAGS="-L/home/xbai/mtapi/libs_misc/result/lib 
> -L/lib/gcc/mips-linux-gnu//el/ -L/mips-linux-gnu/libc/uclibc/el/lib/ 
> -L/mips-linux-gnu/libc/uclibc/el/usr/lib/ -muclibc -L/lib/  -Wl,-rpath 
> -Wl,/home/xbai/mtapi/libs_misc/result/lib -Wl,-rpath-link 
> -Wl,/home/xbai/temp/mtapi/libs_misc/result/ -L/home/xbai/temp/lib 
> -L/home/xbai/temp/home/xbai/mtapi/libs_misc/result/lib 
> -L/home/xbai/mtapi/libs_misc/result/lib"
> declare -x LESSOPEN="|/usr/bin/lesspipe.sh %s"
> declare -x LOGNAME="root"
> declare -x 
> LS_COLORS="no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:do=00;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=00;32:*.tar=00;31:*.tgz=00;31:*.svgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*.lzma=00;31:*.zip=00;31:*.z=00;31:*.Z=00;31:*.dz=00;31:*.gz=00;31:*.bz2=00;31:*.tbz2=00;31:*.bz=00;31:*.tz=00;31:*.deb=00;31:*.rpm=00;31:*.jar=00;31:*.rar=00;31:*.ace=00;31:*.zoo=00;31:*.cpio=00;31:*.7z=00;31:*.rz=00;31:*.jpg=00;35:*.jpeg=00;35:*.gif=00;35:*.bmp=00;35:*.pbm=00;35:*.pgm=00;35:*.ppm=00;35:*.tga=00;35:*.xbm=00;35:*.xpm=00;35:*.tif=00;35:*.tiff=00;35:*.png=00;35:*.mng=00;35:*.pcx=00;35:*.mov=00;35:*.mpg=00;35:*.mpeg=00;35:*.m2v=00;35:*.mkv=00;35:*.ogm=00;35:*.mp4=00;35:*.m4v=00;35:*.mp4v=00;35:*.vob=00;35:*.qt=00;35:*.nuv=00;35:*.wmv=00;35:*.asf=00;35:*.rm=00;35:*.rmvb=00;35:*.flc=00;35:*.avi=00;35:*.fli=00;35:*.gl=00;35:*.dl=00;35:*.xcf=00;35:*.xwd=00;35:*.yuv=00;35:*.svg=00;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:"
> declare -x MAIL="/var/spool/mail/root"
> declare -x OLDPWD="/home/fed/packages/libs_misc"
> declare -x 
> PATH="/home/fed/packages/mips-4.3/bin:/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"
> declare -x PWD="/home/fed/packages/libs_misc/DirectFB-1.6.1"
> declare -x QTDIR="/usr/lib/qt-3.3"
> declare -x QTINC="/usr/lib/qt-3.3/include"
> declare -x QTLIB="/usr/lib/qt-3.3/lib"
> declare -x QT_PLUGIN_PATH="/usr/lib/kde4/plugins"
> declare -x SELINUX_LEVEL_REQUESTED=""
> declare -x SELINUX_ROLE_REQUESTED=""
> declare -x SELINUX_USE_CURRENT_RANGE=""
> declare -x SHELL="/bin/bash"
> declare -x SHLVL="1"
> declare -x SSH_ASKPASS="/usr/libexec/openssh/gnome-ssh-askpass"
> declare -x SSH_CLIENT="192.168.113.1 1863 22"
> declare -x SSH_CONNECTION="192.168.113.1 1863 192.168.113.140 22"
> declare -x SSH_TTY="/dev/pts/0"
> declare -x TERM="xterm"
> declare -x USER="root"
>
>
> Thank you again.



Best Regards,
Shawn Bai



reply via email to

[Prev in Thread] Current Thread [Next in Thread]