LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices


Reply
  Search this Thread
Old 11-17-2014, 07:12 AM   #1
percy_vere_uk
Member
 
Registered: Oct 2008
Location: Dorset, UK
Distribution: Arch, Lfs, Gentoo, Debian, Slackware
Posts: 98

Rep: Reputation: 12
Unhappy undefined reference to `_XEatDataWords'


Hi

I am trying to build 'libpeas-1.10.1' and get the following error at the compile stage.

Code:
root [ /sources ]# cd libpeas-1.10.1
root [ /sources/libpeas-1.10.1 ]# ./configure --prefix=/usr &&
> make -j3
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether ln -s works... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
./configure: line 6606: /usr/bin/file: No such file or directory
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for fsync... yes
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.18.2
checking for XML::Parser... ok
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PEAS... yes
checking for gobject-introspection... yes
checking for PEAS_GTK... yes
checking for native Mac OS X... checking for pkg-config... /usr/bin/pkg-config
no
checking for gdb... no
checking for valgrind... no
checking whether to build with coverage testing... no (disabled, use --enable-gcov to enable)
checking for Glade.... no
checking for Seed JS availability.... no
checking for Python 2 availability.... checking for python2... /usr/bin/python2
checking for python2-config... /usr/bin/python2-config
checking for PYGOBJECT... yes
yes
checking for Python 3 availability.... checking for a Python interpreter with version >= 3.2.0... python3
checking for python3... /usr/bin/python3
checking for python3 version... 3.4
checking for python3 platform... linux
checking for python3 script directory... ${prefix}/lib/python3.4/site-packages
checking for python3 extension module directory... ${exec_prefix}/lib/python3.4/site-packages
checking for python3-config... /usr/bin/python3-config
checking for PYGOBJECT... yes
yes
checking for gtk-doc... no
configure: WARNING:
  You will not be able to create source packages with 'make dist'
  because gtk-doc >= 1.11 is not found.
checking for gtkdoc-check... no
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for GTKDOC_DEPS... yes
checking for glib-genmarshal... /usr/bin/glib-genmarshal
checking for glib-mkenums... /usr/bin/glib-mkenums
checking whether gcc understands -Wall... yes
checking whether gcc understands -Wstrict-prototypes... yes
checking whether gcc understands -Wnested-externs... yes
checking whether gcc understands -Werror=missing-prototypes... yes
checking whether gcc understands -Werror=implicit-function-declaration... yes
checking whether gcc understands -Werror=pointer-arith... yes
checking whether gcc understands -Werror=init-self... yes
checking whether gcc understands -Werror=format-security... no
checking whether gcc understands -Werror=format=2... yes
checking whether gcc understands -Werror=missing-include-dirs... yes
checking what warning flags to pass to the C compiler...  -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs
checking what language compliance flags to pass to the C compiler... 
configure: disabling deprecated libpeas features
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/version.xml
config.status: creating libpeas/Makefile
config.status: creating libpeas-gtk/Makefile
config.status: creating loaders/Makefile
config.status: creating loaders/python/Makefile
config.status: creating loaders/python3/Makefile
config.status: creating loaders/seed/Makefile
config.status: creating data/Makefile
config.status: creating data/glade/Makefile
config.status: creating data/icons/Makefile
config.status: creating data/libpeas-1.0.pc
config.status: creating data/libpeas-gtk-1.0.pc
config.status: creating peas-demo/Makefile
config.status: creating peas-demo/plugins/Makefile
config.status: creating peas-demo/plugins/helloworld/Makefile
config.status: creating peas-demo/plugins/pythonhello/Makefile
config.status: creating peas-demo/plugins/secondtime/Makefile
config.status: creating peas-demo/plugins/seedhello/Makefile
config.status: creating po/Makefile.in
config.status: creating tests/Makefile
config.status: creating tests/libpeas/Makefile
config.status: creating tests/libpeas/plugins/Makefile
config.status: creating tests/libpeas/plugins/extension-c/Makefile
config.status: creating tests/libpeas/plugins/extension-python/Makefile
config.status: creating tests/libpeas/plugins/extension-seed/Makefile
config.status: creating tests/libpeas/introspection/Makefile
config.status: creating tests/libpeas/testing/Makefile
config.status: creating tests/libpeas-gtk/Makefile
config.status: creating tests/libpeas-gtk/plugins/Makefile
config.status: creating tests/libpeas-gtk/plugins/builtin-configurable/Makefile
config.status: creating tests/libpeas-gtk/plugins/configurable/Makefile
config.status: creating tests/libpeas-gtk/plugins/valid-custom-icon/Makefile
config.status: creating tests/libpeas-gtk/testing/Makefile
config.status: creating tests/plugins/Makefile
config.status: creating tests/plugins/builtin/Makefile
config.status: creating tests/plugins/has-dep/Makefile
config.status: creating tests/plugins/loadable/Makefile
config.status: creating tests/plugins/self-dep/Makefile
config.status: creating tests/testing-util/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po/stamp-it commands


Configuration:

        Source code location          : .
        Compiler                      : gcc
        Installation prefix           : /usr
        Build libpeas-gtk             : yes
        Coverage testing              : no (disabled, use --enable-gcov to enable)
        Glade Catalog                 : no
        Disable deprecated features   : yes

Languages support:

        Python 2 support              : yes
        Python 3 support              : yes
        Seed Javascript support       : no

make  all-recursive
make[1]: Entering directory '/sources/libpeas-1.10.1'
Making all in libpeas
make[2]: Entering directory '/sources/libpeas-1.10.1/libpeas'
  GEN      peas-marshal.h
  GEN      peas-marshal.c
make  all-am
make[3]: Entering directory '/sources/libpeas-1.10.1/libpeas'
  CC       peas-activatable.lo
  CC       peas-debug.lo
  CC       peas-marshal.lo
  CC       peas-dirs.lo
  CC       peas-engine.lo
  CC       peas-extension.lo
  CC       peas-extension-base.lo
  CC       peas-extension-set.lo
  CC       peas-extension-wrapper.lo
  CC       peas-extension-subclasses.lo
  CC       peas-helpers.lo
  CC       peas-i18n.lo
  CC       peas-introspection.lo
  CC       peas-object-module.lo
  CC       peas-plugin-info.lo
  CC       peas-plugin-loader.lo
  CC       peas-plugin-loader-c.lo
  CCLD     libpeas-1.0.la
  GISCAN   Peas-1.0.gir
  GICOMP   Peas-1.0.gir
make[3]: Leaving directory '/sources/libpeas-1.10.1/libpeas'
make[2]: Leaving directory '/sources/libpeas-1.10.1/libpeas'
Making all in loaders
make[2]: Entering directory '/sources/libpeas-1.10.1/loaders'
Making all in python
make[3]: Entering directory '/sources/libpeas-1.10.1/loaders/python'
 
CC       peas-plugin-loader-python.lo
  CCLD     libpythonloader.la
make[3]: Leaving directory '/sources/libpeas-1.10.1/loaders/python'
Making all in python3
make[3]: Entering directory '/sources/libpeas-1.10.1/loaders/python3'
  CC       peas-plugin-loader-python.lo
  CCLD     libpython3loader.la
make[3]: Leaving directory '/sources/libpeas-1.10.1/loaders/python3'
make[3]: Entering directory '/sources/libpeas-1.10.1/loaders'
make[3]: Nothing to be done for 'all-am'.undefined reference to `_XEatDataWords
make[3]: Leaving directory '/sources/libpeas-1.10.1/loaders'
make[2]: Leaving directory '/sources/libpeas-1.10.1/loaders'
Making all in libpeas-gtk
make[2]: Entering directory '/sources/libpeas-1.10.1/libpeas-gtk'
  CC       peas-gtk-plugin-manager.lo
  CC       peas-gtk-configurable.lo
  CC       peas-gtk-disable-plugins-dialog.lo
  CC       peas-gtk-plugin-manager-store.lo
  CC       peas-gtk-plugin-manager-view.lo
  CCLD     libpeas-gtk-1.0.la
  GISCAN   PeasGtk-1.0.gir
/usr/lib/../lib64/libXinerama.so.1: undefined reference to `_XEatDataWords'
collect2: error: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/sh', '../libtool', '--mode=link', '--tag=CC', '--silent', 'cc', '-o', '/sources/libpeas-1.10.1/libpeas-gtk/tmp-introspectwmmIG5/PeasGtk-1.0', '-export-dynamic', '/sources/libpeas-1.10.1/libpeas-gtk/tmp-introspectwmmIG5/PeasGtk-1.0.o', '-L.', '../libpeas/libpeas-1.0.la', 'libpeas-gtk-1.0.la', '-lgio-2.0', '-lgobject-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lglib-2.0']' returned non-zero exit status 1
/usr/share/gobject-introspection-1.0/Makefile.introspection:153: recipe for target 'PeasGtk-1.0.gir' failed
make[2]: *** [PeasGtk-1.0.gir] Error 1
make[2]: Leaving directory '/sources/libpeas-1.10.1/libpeas-gtk'
Makefile:482: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/sources/libpeas-1.10.1'
Makefile:413: recipe for target 'all' failed
make: *** [all] Error 2
The error seems to be: '/usr/lib/../lib64/libXinerama.so.1: undefined reference to `_XEatDataWords'

Using a search engine I cannot find any reference to '_XEatDataWords'

Do I need to manually link libXinerama to this. If so how?

percy
 
Old 11-17-2014, 09:14 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Please try : $ objdump -Dslx <path-to>/libXinerama.so.1 | grep XEatDataWords

* There is no "_XEatDataWords" in libXinerama version 1.1,
* "_XEatDataWords" is present in libXinerama version 1.1.3 .


-
 
Old 11-18-2014, 05:13 AM   #3
percy_vere_uk
Member
 
Registered: Oct 2008
Location: Dorset, UK
Distribution: Arch, Lfs, Gentoo, Debian, Slackware
Posts: 98

Original Poster
Rep: Reputation: 12
knudfl

Code:
objdump -Dslx /usr/local/lib//libXinerama.so.1 | grep XEatDataWords
0000000000000000       F *UND*	0000000000000000              _XEatDataWords
 06e8 73005f58 45617444 61746157 6f726473  s._XEatDataWords
 1800 5f584561 74446174 61576f72 64730064  _XEatDataWords.d
0000000000000b10 <_XEatDataWords@plt>:
    1369:	e8 a2 f7 ff ff       	callq  b10 <_XEatDataWords@plt>
     aa4:	71 75                	jno    b1b <_XEatDataWords@plt+0xb>
     aa7:	73 74                	jae    b1d <_XEatDataWords@plt+0xd>
     aae:	76 65                	jbe    b15 <_XEatDataWords@plt+0x5>
     ac4:	78 51                	js     b17 <_XEatDataWords@plt+0x7>
     ada:	74 41                	je     b1d <_XEatDataWords@plt+0xd>
     b0f:	21 05 00 00 00 00    	and    %eax,0x0(%rip)        # b15 <_XEatDataWords@plt+0x5>
 
Old 11-18-2014, 06:10 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #3 :
Quote:
/usr/local/lib//libXinerama.so.1
Well, you are not supposed to have any system libraries in /usr/local/lib/.

Besides that, libraries are searched for in LD_LIBRARY_PATH order,
and obviously you have a non valid "libXinerama.so.1"
in "/usr/lib/../lib64/", ref. post #1.
 
1 members found this post helpful.
Old 11-18-2014, 06:56 AM   #5
percy_vere_uk
Member
 
Registered: Oct 2008
Location: Dorset, UK
Distribution: Arch, Lfs, Gentoo, Debian, Slackware
Posts: 98

Original Poster
Rep: Reputation: 12
Quote:
Well, you are not supposed to have any system libraries in /usr/local/lib/.
Thanks for that I can now see the problem. I just need to find out where I have gone wrong and see if I can sort it out and put this right.
 
Old 11-21-2014, 08:33 AM   #6
percy_vere_uk
Member
 
Registered: Oct 2008
Location: Dorset, UK
Distribution: Arch, Lfs, Gentoo, Debian, Slackware
Posts: 98

Original Poster
Rep: Reputation: 12
Hi

I have looked back through what I have done so far. I did find that LD_LIBRARY_PATH had not been set so I have now done 'export LD_LIBRARY_PATH=/usr/lib' . I have found that the libraries are present in both /usr/local/lib and /usr/lib and 'libXrender.la' appears in both of these directories. But when I try to build libpeas it still tries to access /usr/local/lib with the error as below.

What am I missing here is there another environmental variable that I should have set, what determines where these files install?

Code:
  CC       peas-gtk-plugin-manager-view.lo
  CCLD     libpeas-gtk-1.0.la
/bin/sed: can't read /usr/local/lib/libXrender.la: No such file or directory
libtool: link: `/usr/local/lib/libXrender.la' is not a valid libtool archive
Makefile:553: recipe for target 'libpeas-gtk-1.0.la' failed
make[2]: *** [libpeas-gtk-1.0.la] Error 1
make[2]: Leaving directory '/sources/libpeas-1.10.1/libpeas-gtk'
Makefile:482: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/sources/libpeas-1.10.1'
Makefile:413: recipe for target 'all' failed
make: *** [all] Error 2
 
Old 11-21-2014, 12:25 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #6 .

Files.la are very small text files, 1 kB or less.
`libXrender.la' = ~922 B.

The files are easy to write and to edit.

`libXrender.la' is included in my "example la files package" :
la.tar.bz2 → → Attached as la.tar.bz2.txt →
Rename to la.tar.bz2, then you can unpack.
-
Attached Files
File Type: txt la.tar.bz2.txt (1.4 KB, 44 views)
 
Old 11-22-2014, 07:35 AM   #8
percy_vere_uk
Member
 
Registered: Oct 2008
Location: Dorset, UK
Distribution: Arch, Lfs, Gentoo, Debian, Slackware
Posts: 98

Original Poster
Rep: Reputation: 12
knudfl said

Code:
Files.la are very small text files, 1 kB or less.
`libXrender.la' = ~922 B.

The files are easy to write and to edit.

`libXrender.la' is included in my "example la files package" :
la.tar.bz2 → → Attached as la.tar.bz2.txt →
Rename to la.tar.bz2, then you can unpack.
Thanks for that but I tried it and found the same error with 'libXrender.la'.

So I decided to re-boot the system and re-built libXinerama and libpeas. The same error that I found initially [libXinerama.so.1} appears but this time it relates to:

'/usr/lib/../lib64/libXinerama.so.1: undefined reference to `_XEatDataWords'

And not /usr/local/lib as initially, so that is now correct.

I have spent a lot of time on search engines trying to find anyone else who has had a similar problem but no luck. It is quite likely

it is something I have missed in the system build. But what?

Code:
/sources/lib/libXinerama-1.1.3 /sources/lib
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
./configure: line 6171: /usr/bin/file: No such file or directory
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for gcc option to accept ISO C99... -std=gnu99
checking whether __clang__ is declared... no
checking whether __INTEL_COMPILER is declared... no
checking whether __SUNPRO_C is declared... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking if gcc -std=gnu99 supports -Werror=unknown-warning-option... no
checking if gcc -std=gnu99 supports -Werror=unused-command-line-argument... no
checking if gcc -std=gnu99 supports -Wall... yes
checking if gcc -std=gnu99 supports -Wpointer-arith... yes
checking if gcc -std=gnu99 supports -Wmissing-declarations... yes
checking if gcc -std=gnu99 supports -Wformat=2... yes
checking if gcc -std=gnu99 supports -Wstrict-prototypes... yes
checking if gcc -std=gnu99 supports -Wmissing-prototypes... yes
checking if gcc -std=gnu99 supports -Wnested-externs... yes
checking if gcc -std=gnu99 supports -Wbad-function-cast... yes
checking if gcc -std=gnu99 supports -Wold-style-definition... yes
checking if gcc -std=gnu99 supports -Wdeclaration-after-statement... yes
checking if gcc -std=gnu99 supports -Wunused... yes
checking if gcc -std=gnu99 supports -Wuninitialized... yes
checking if gcc -std=gnu99 supports -Wshadow... yes
checking if gcc -std=gnu99 supports -Wcast-qual... yes
checking if gcc -std=gnu99 supports -Wmissing-noreturn... yes
checking if gcc -std=gnu99 supports -Wmissing-format-attribute... yes
checking if gcc -std=gnu99 supports -Wredundant-decls... yes
checking if gcc -std=gnu99 supports -Werror=implicit... yes
checking if gcc -std=gnu99 supports -Werror=nonnull... yes
checking if gcc -std=gnu99 supports -Werror=init-self... yes
checking if gcc -std=gnu99 supports -Werror=main... yes
checking if gcc -std=gnu99 supports -Werror=missing-braces... yes
checking if gcc -std=gnu99 supports -Werror=sequence-point... yes
checking if gcc -std=gnu99 supports -Werror=return-type... yes
checking if gcc -std=gnu99 supports -Werror=trigraphs... yes
checking if gcc -std=gnu99 supports -Werror=array-bounds... yes
checking if gcc -std=gnu99 supports -Werror=write-strings... yes
checking if gcc -std=gnu99 supports -Werror=address... yes
checking if gcc -std=gnu99 supports -Werror=int-to-pointer-cast... yes
checking if gcc -std=gnu99 supports -Werror=pointer-to-int-cast... yes
checking if gcc -std=gnu99 supports -pedantic... yes
checking if gcc -std=gnu99 supports -Werror... yes
checking if gcc -std=gnu99 supports -Werror=attributes... yes
checking whether make supports nested variables... (cached) yes
checking whether malloc(0) returns NULL... yes
checking for XINERAMA... yes
checking for _XEatDataWords... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating xinerama.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make  all-recursive
make[1]: Entering directory '/sources/lib/libXinerama-1.1.3'
Making all in src
make[2]: Entering directory '/sources/lib/libXinerama-1.1.3/src'
  CC       Xinerama.lo
  CCLD     libXinerama.la
make[2]: Leaving directory '/sources/lib/libXinerama-1.1.3/src'
Making all in man
make[2]: Entering directory '/sources/lib/libXinerama-1.1.3/man'
  GEN      XineramaQueryExtension.3
  GEN      Xinerama.3
  GEN      XineramaQueryVersion.3
  GEN      XineramaIsActive.3
  GEN      XineramaQueryScreens.3
make[2]: Leaving directory '/sources/lib/libXinerama-1.1.3/man'
make[2]: Entering directory '/sources/lib/libXinerama-1.1.3'
make[2]: Leaving directory '/sources/lib/libXinerama-1.1.3'
make[1]: Leaving directory '/sources/lib/libXinerama-1.1.3'
Making install in src
make[1]: Entering directory '/sources/lib/libXinerama-1.1.3/src'
make[2]: Entering directory '/sources/lib/libXinerama-1.1.3/src'
 /bin/mkdir -p '/include/X11/extensions'
 /bin/mkdir -p '/lib'
 /bin/sh ../libtool   --mode=install /usr/bin/install -c   libXinerama.la '/lib'
 /usr/bin/install -c -m 644 ../include/X11/extensions/Xinerama.h ../include/X11/extensions/panoramiXext.h '/include/X11/extensions'
libtool: install: /usr/bin/install -c .libs/libXinerama.so.1.0.0 /lib/libXinerama.so.1.0.0
libtool: install: (cd /lib && { ln -s -f libXinerama.so.1.0.0 libXinerama.so.1 || { rm -f libXinerama.so.1 && ln -s libXinerama.so.1.0.0 libXinerama.so.1; }; })
libtool: install: (cd /lib && { ln -s -f libXinerama.so.1.0.0 libXinerama.so || { rm -f libXinerama.so && ln -s libXinerama.so.1.0.0 libXinerama.so; }; })
libtool: install: /usr/bin/install -c .libs/libXinerama.lai /lib/libXinerama.la
libtool: finish: PATH="/usr/local/sbin:/usr/local/bin:/usr/bin:/sbin:/usr/sbin:/bin:/sbin" ldconfig -n /lib
----------------------------------------------------------------------
Libraries have been installed in:
   /lib

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'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[2]: Leaving directory '/sources/lib/libXinerama-1.1.3/src'
make[1]: Leaving directory '/sources/lib/libXinerama-1.1.3/src'
Making install in man
make[1]: Entering directory '/sources/lib/libXinerama-1.1.3/man'
make[2]: Entering directory '/sources/lib/libXinerama-1.1.3/man'
make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/share/man/man3'
 /usr/bin/install -c -m 644 Xinerama.3 XineramaQueryExtension.3 XineramaQueryVersion.3 XineramaIsActive.3 XineramaQueryScreens.3 '/share/man/man3'
make[2]: Leaving directory '/sources/lib/libXinerama-1.1.3/man'
make[1]: Leaving directory '/sources/lib/libXinerama-1.1.3/man'
make[1]: Entering directory '/sources/lib/libXinerama-1.1.3'
make[2]: Entering directory '/sources/lib/libXinerama-1.1.3'
make[2]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/lib/pkgconfig'
 /usr/bin/install -c -m 644 xinerama.pc '/lib/pkgconfig'
make[2]: Leaving directory '/sources/lib/libXinerama-1.1.3'
make[1]: Leaving directory '/sources/lib/libXinerama-1.1.3'
/sources/lib

Code:
root [ /sources/libpeas-1.12.1 ]# ./configure --prefix=/usr &&
> make
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether ln -s works... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
./configure: line 6599: /usr/bin/file: No such file or directory
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for fsync... yes
checking whether NLS is requested... yes
checking for intltool >= 0.40.0... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.18.2
checking for XML::Parser... ok
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PEAS... yes
checking for gobject-introspection... yes
checking for PEAS_GTK... yes
checking for native Mac OS X... checking for pkg-config... /usr/bin/pkg-config
no
checking for gdb... no
checking for valgrind... no
checking whether to build with coverage testing... no (disabled, use --enable-gcov to enable)
checking for Glade.... no
checking for Seed JS availability.... no
checking for Python 2 availability.... checking for python2... /usr/bin/python2
checking for python2-config... /usr/bin/python2-config
checking for PYGOBJECT... yes
yes
checking for Python 3 availability.... checking for a Python interpreter with version >= 3.2.0... python3
checking for python3... /usr/bin/python3
checking for python3 version... 3.4
checking for python3 platform... linux
checking for python3 script directory... ${prefix}/lib/python3.4/site-packages
checking for python3 extension module directory... ${exec_prefix}/lib/python3.4/site-packages
checking for python3-config... /usr/bin/python3-config
checking for PYGOBJECT... yes
yes
checking for gtk-doc... no
configure: WARNING:
  You will not be able to create source packages with 'make dist'
  because gtk-doc >= 1.11 is not found.
checking for gtkdoc-check... no
checking for gtkdoc-check... no
checking for gtkdoc-rebase... no
checking for gtkdoc-mkpdf... no
checking whether to build gtk-doc documentation... no
checking for GTKDOC_DEPS... yes
checking for glib-compile-resources... /usr/bin/glib-compile-resources
checking for glib-genmarshal... /usr/bin/glib-genmarshal
checking for glib-mkenums... /usr/bin/glib-mkenums
checking whether gcc understands -Wall... yes
checking whether gcc understands -Wstrict-prototypes... yes
checking whether gcc understands -Wnested-externs... yes
checking whether gcc understands -Werror=missing-prototypes... yes
checking whether gcc understands -Werror=implicit-function-declaration... yes
checking whether gcc understands -Werror=pointer-arith... yes
checking whether gcc understands -Werror=init-self... yes
checking whether gcc understands -Werror=format-security... no
checking whether gcc understands -Werror=format=2... yes
checking whether gcc understands -Werror=missing-include-dirs... yes
checking what warning flags to pass to the C compiler...  -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs
checking what language compliance flags to pass to the C compiler... 
configure: disabling deprecated libpeas features
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/version.xml
config.status: creating libpeas/Makefile
config.status: creating libpeas-gtk/Makefile
config.status: creating loaders/Makefile
config.status: creating loaders/python/Makefile
config.status: creating loaders/python3/Makefile
config.status: creating loaders/seed/Makefile
config.status: creating data/Makefile
config.status: creating data/glade/Makefile
config.status: creating data/icons/Makefile
config.status: creating data/libpeas-1.0.pc
config.status: creating data/libpeas-gtk-1.0.pc
config.status: creating peas-demo/Makefile
config.status: creating peas-demo/plugins/Makefile
config.status: creating peas-demo/plugins/helloworld/Makefile
config.status: creating peas-demo/plugins/pythonhello/Makefile
config.status: creating peas-demo/plugins/secondtime/Makefile
config.status: creating peas-demo/plugins/seedhello/Makefile
config.status: creating po/Makefile.in
config.status: creating tests/Makefile
config.status: creating tests/libpeas/Makefile
config.status: creating tests/libpeas/plugins/Makefile
config.status: creating tests/libpeas/plugins/extension-c/Makefile
config.status: creating tests/libpeas/plugins/extension-python/Makefile
config.status: creating tests/libpeas/plugins/extension-seed/Makefile
config.status: creating tests/libpeas/introspection/Makefile
config.status: creating tests/libpeas/testing/Makefile
config.status: creating tests/libpeas-gtk/Makefile
config.status: creating tests/libpeas-gtk/plugins/Makefile
config.status: creating tests/libpeas-gtk/plugins/builtin-configurable/Makefile
config.status: creating tests/libpeas-gtk/plugins/configurable/Makefile
config.status: creating tests/libpeas-gtk/plugins/valid-custom-icon/Makefile
config.status: creating tests/libpeas-gtk/testing/Makefile
config.status: creating tests/plugins/Makefile
config.status: creating tests/plugins/builtin/Makefile
config.status: creating tests/plugins/has-dep/Makefile
config.status: creating tests/plugins/loadable/Makefile
config.status: creating tests/plugins/self-dep/Makefile
config.status: creating tests/testing-util/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing po/stamp-it commands


Configuration:

        Source code location          : .
        Compiler                      : gcc
        Installation prefix           : /usr
        Build libpeas-gtk             : yes
        Coverage testing              : no (disabled, use --enable-gcov to enable)
        Glade Catalog                 : no
        Disable deprecated features   : yes

Languages support:

        Python 2 support              : yes
        Python 3 support              : yes
        Seed Javascript support       : no

make  all-recursive
make[1]: Entering directory '/sources/libpeas-1.12.1'
Making all in libpeas
make[2]: Entering directory '/sources/libpeas-1.12.1/libpeas'
  GEN      peas-marshal.h
  GEN      peas-marshal.c
make  all-am
make[3]: Entering directory '/sources/libpeas-1.12.1/libpeas'
  CC       peas-debug.lo
  CC       peas-activatable.lo
  CC       peas-marshal.lo
  CC       peas-dirs.lo
  CC       peas-engine.lo
  CC       peas-extension.lo
  CC       peas-extension-base.lo
  CC       peas-extension-set.lo
  CC       peas-extension-wrapper.lo
  CC       peas-extension-subclasses.lo
  CC       peas-helpers.lo
  CC       peas-i18n.lo
  CC       peas-introspection.lo
  CC       peas-object-module.lo
  CC       peas-plugin-info.lo
  CC       peas-plugin-loader.lo
  CC       peas-plugin-loader-c.lo
  CCLD     libpeas-1.0.la
  GISCAN   Peas-1.0.gir
  GICOMP   Peas-1.0.gir
make[3]: Leaving directory '/sources/libpeas-1.12.1/libpeas'
make[2]: Leaving directory '/sources/libpeas-1.12.1/libpeas'
Making all in loaders
make[2]: Entering directory '/sources/libpeas-1.12.1/loaders'
Making all in python
make[3]: Entering directory '/sources/libpeas-1.12.1/loaders/python'
  CC       peas-plugin-loader-python.lo
  CC       peas-plugin-loader-python-resources.lo
  CCLD     libpythonloader.la
make[3]: Leaving directory '/sources/libpeas-1.12.1/loaders/python'
Making all in python3
make[3]: Entering directory '/sources/libpeas-1.12.1/loaders/python3'
  CC       peas-plugin-loader-python.lo
  CC       peas-plugin-loader-python3-resources.lo
  CCLD     libpython3loader.la
make[3]: Leaving directory '/sources/libpeas-1.12.1/loaders/python3'
make[3]: Entering directory '/sources/libpeas-1.12.1/loaders'
make[3]: Nothing to be done for 'all-am'.
make[3]: Leaving directory '/sources/libpeas-1.12.1/loaders'
make[2]: Leaving directory '/sources/libpeas-1.12.1/loaders'
Making all in libpeas-gtk
make[2]: Entering directory '/sources/libpeas-1.12.1/libpeas-gtk'
  CC       peas-gtk-plugin-manager.lo
  CC       peas-gtk-disable-plugins-dialog.lo
  CC       peas-gtk-configurable.lo
  CC       peas-gtk-plugin-manager-store.lo
  CC       peas-gtk-plugin-manager-view.lo
  CCLD     libpeas-gtk-1.0.la
  GISCAN   PeasGtk-1.0.gir
/usr/lib/../lib64/libXinerama.so.1: undefined reference to `_XEatDataWords'
collect2: error: ld returned 1 exit status
linking of temporary binary failed: Command '['/bin/sh', '../libtool', '--mode=link', '--tag=CC', '--silent', 'cc', '-o', '/sources/libpeas-1.12.1/libpeas-gtk/tmp-introspectwZJk_A/PeasGtk-1.0', '-export-dynamic', '/sources/libpeas-1.12.1/libpeas-gtk/tmp-introspectwZJk_A/PeasGtk-1.0.o', '-L.', '../libpeas/libpeas-1.0.la', 'libpeas-gtk-1.0.la', '-lgio-2.0', '-lgobject-2.0', '-Wl,--export-dynamic', '-lgmodule-2.0', '-pthread', '-lglib-2.0']' returned non-zero exit status 1
/usr/share/gobject-introspection-1.0/Makefile.introspection:153: recipe for target 'PeasGtk-1.0.gir' failed
make[2]: *** [PeasGtk-1.0.gir] Error 1
make[2]: Leaving directory '/sources/libpeas-1.12.1/libpeas-gtk'
Makefile:481: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/sources/libpeas-1.12.1'
Makefile:412: recipe for target 'all' failed
make: *** [all] Error 2
 
Old 11-22-2014, 08:10 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
→ #10 .
Quote:
re-built libXinerama
May be not to the right location = /usr/lib64/ ?
 
Old 11-23-2014, 07:15 AM   #10
percy_vere_uk
Member
 
Registered: Oct 2008
Location: Dorset, UK
Distribution: Arch, Lfs, Gentoo, Debian, Slackware
Posts: 98

Original Poster
Rep: Reputation: 12
knudfl Thank you for your help so far.

I found that Xorg-libraries were building in /lib

so in /etc/profile I changed export $LD_LIBRARY_PATH=/usr/lib to export $LD_LIBRARY_PATH=/lib libpeas now builds.

The problem had been the wrong setting (or no setting) of the environmental variables. Could someone please advise me what

environmental variables I should have set and to what. Or failing that where to find this information as I seem to have missed this

somehow.

I now seem to have library files in /lib /usr/lib /usr/local/lib and perhaps other directories. How can I sort this out

other than starting again!!
 
Old 11-23-2014, 11:04 AM   #11
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
It's probably not a good idea to set LD_LIBRARY_PATH on any sort of permanent basis.
The reason you have some libs in /usr/local points to an incorrect configure option somewhere, usually if you don't use the --prefix option to configure the libs/apps etc will be placed in /usr/local/lib, /usr/local/bin ... etc, with MOST but not all configure scripts this is the default if no --prefix option is given, if in any doubt use something like:
Code:
./configure --prefix=/usr --libdir=/usr/lib
You may or may not need the libdir option you may also need somthing like --libdir=/usr/lib64 depends on your system.
 
Old 11-23-2014, 11:07 AM   #12
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
As an aside if you wish to build and install library's in a non standard place, you need to configure ldd by adding the installation directory's to be searched in /etc/ld.so.conf like so:
Code:
# Begin /etc/ld.so.conf
/usr/local/lib
/opt/lib
include /etc/ld.so.conf.d/*.conf
And then run
Code:
sudo ldconfig
 
1 members found this post helpful.
Old 11-25-2014, 06:41 AM   #13
percy_vere_uk
Member
 
Registered: Oct 2008
Location: Dorset, UK
Distribution: Arch, Lfs, Gentoo, Debian, Slackware
Posts: 98

Original Poster
Rep: Reputation: 12
Thanks for that Keith.

So other than virtually starting again it looks as though I cannot change the library destinations that have been installed so far!
 
Old 11-25-2014, 06:46 AM   #14
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
You shouldn't have to start right from scratch just go through /usr/local/lib and see what has been put there by mistake then recompile those library's and install in the 'correct' place /usr/lib for instance then remove the versions in /usr/local, bit of mucking about but if it's only a few libs shouldn't be too much of a drag.

Be aware that unlees you have good reason it's not really a good idea to force libs to /usr/lib with the --libdir option to configure just using --prefix=/usr is usually enough, some system libs do need to go in /lib rather than /usr/lib, there are a few examples of misplaced libs in the LFS/BLFS books, also of course some people use a separate partition for /usr so some system libs have to be in /lib because at startup /usr may not be mounted.

Last edited by Keith Hedger; 11-25-2014 at 06:51 AM. Reason: errata
 
2 members found this post helpful.
Old 11-26-2014, 05:03 AM   #15
percy_vere_uk
Member
 
Registered: Oct 2008
Location: Dorset, UK
Distribution: Arch, Lfs, Gentoo, Debian, Slackware
Posts: 98

Original Poster
Rep: Reputation: 12
Thumbs up

Keith

Thank you for this information I now know what to do with these library files.
 
  


Reply

Tags
libpeas



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
C++ undefined reference grob115 Programming 4 01-22-2013 11:22 AM
Yet another undefined reference CollieJim Linux - General 2 12-17-2010 11:08 PM
Undefined reference, why? george_mercury Programming 4 05-07-2009 12:15 AM
Undefined reference to: ashlesha Programming 5 11-08-2006 01:07 PM
undefined reference? Sharky01252 Programming 3 11-07-2006 11:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 07:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration