[Solved]Building against libreadline.so.6
I must be missing something really simple here I suspect it doesn't help I have a very limited understanding of c/c++
I've got bash from testing which is working fine not encountered anything so far. So having found php on testing all went well but I've tried a few times to build mysql and haven't got a clue what I'm missing.
After building I get
error while loading shared libraries: libreadline.so.5: cannot open shared object file: No such file or directory
Which I sort of expected in prebuilt binaries, I've checked ldconfig as I presume it is using this to find the libs it needs.
ldconfig -p | grep readline
libreadline.so.6 (libc6,x86-64) => /lib/libreadline.so.6
libreadline.so (libc6,x86-64) => /lib/libreadline.so
Can someone point me in the right direction please.
Last edited by FeatherMonkey (2009-06-21 11:13:51)
Well that left me even more confused in raw.txt I have a fair few
/usr/bin/smbclient:
libreadline.so.5 => not found
/usr/bin/fluidsynth:
libreadline.so.5 => not found
/usr/bin/rpcclient:
libreadline.so.5 => not found
/usr/bin/hxtool:
libreadline.so.5 => not found
/usr/bin/certtool:
libreadline.so.5 => not found
/usr/bin/gpgsm:
libreadline.so.5 => not found
/usr/bin/xmlcatalog:
libreadline.so.5 => not found
libhistory.so.5 => not found
/usr/bin/gpgv2:
libreadline.so.5 => not found
/usr/bin/xmllint:
libreadline.so.5 => not found
libhistory.so.5 => not found
/usr/bin/ecpg:
libreadline.so.5 => not found
/usr/bin/isql:
libreadline.so.5 => not found
/usr/bin/pilot-dlpsh:
libreadline.so.5 => not found
/usr/bin/luac:
libreadline.so.5 => not found
libhistory.so.5 => not found
/usr/bin/gpg2:
libreadline.so.5 => not found
/usr/bin/gss:
libreadline.so.5 => not found
/usr/bin/pg_config:
libreadline.so.5 => not found
/usr/bin/sqlite3:
libreadline.so.5 => not found
/usr/bin/mysql:
libreadline.so.5 => not found
/usr/bin/gpg-connect-agent:
libreadline.so.5 => not found
/usr/bin/kftp:
libreadline.so.5 => not found
/usr/bin/net:
libreadline.so.5 => not found
/usr/bin/lua:
libreadline.so.5 => not found
libhistory.so.5 => not found
/usr/bin/iusql:
libreadline.so.5 => not found
/usr/bin/jack_transport:
libreadline.so.5 => not found
/sbin/lvm:
libreadline.so.5 => not found
libreadline.so.5 => not found
/sbin/dmsetup:
libreadline.so.5 => not found
libreadline.so.5 => not found
/usr/sbin/parted:
libreadline.so.5 => not found
/usr/sbin/kadmin:
libreadline.so.5 => not found
/usr/sbin/wpa_cli:
libreadline.so.5 => not found
/usr/sbin/ktutil:
libreadline.so.5 => not found
/usr/sbin/iprop-log:
libreadline.so.5 => not found
/usr/sbin/kdigest:
libreadline.so.5 => not found
/usr/sbin/cryptsetup:
libreadline.so.5 => not found
/lib/libdevmapper.so.1.02:
libreadline.so.5 => not found
/usr/lib/libsl.so.0.2.1:
libreadline.so.5 => not found
/usr/lib/ruby/1.8/x86_64-linux/readline.so:
libreadline.so.5 => not found
/usr/lib/python2.6/lib-dynload/readline.so:
libreadline.so.5 => not found
/usr/lib/libcryptsetup.so.0.0.0:
libreadline.so.5 => not found
/usr/lib/vlc/codec/libfluidsynth_plugin.so:
libreadline.so.5 => not found
/usr/lib/libfluidsynth.so.1.1.2:
libreadline.so.5 => not found
All I've done is add a new line before ^/ so my awk pattern will print the section. Now if understand what the tool is doing correctly it looks like I have a lot of rebuilding to do.(Though running a find on some of the libs from raw.txt is finding some.)
raw.txt contains
/usr/lib/thunderbird-2.0/libxpcom.so:
libxpcom_core.so => not found
And my find returns..
/usr/lib/thunderbird-2.0/libxpcom_core.so
On a final note as this has gone beyond my capabilities, after the suggestion of using lddd I happened to run ldd
ldd $(which mysql)
linux-vdso.so.1 => (0x00007fff00dfe000)
libmysqlclient.so.16 => /usr/lib/libmysqlclient.so.16 (0x00007f17f860f000)
libreadline.so.5 => not found
libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007f17f83b5000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f17f8199000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007f17f7f62000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00007f17f7d4a000)
libz.so.1 => /usr/lib/libz.so.1 (0x00007f17f7b35000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f17f7827000)
libm.so.6 => /lib/libm.so.6 (0x00007f17f75a5000)
libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f17f738f000)
libc.so.6 => /lib/libc.so.6 (0x00007f17f703a000)
/lib/ld-linux-x86-64.so.2 (0x00007f17f8a0c000)
So it looks like though I've built it, the actual binary is missing the lib, so I'm a bit lost here.
Well I learnt a bit more here but think a downgrade is the easiest solution for me. Unless anyone has more snippets that'll enlighten me. It certainly looks like it is related to the actual building of mysql rather than something in the dependency chain to me.
I'm coming to the conclusion giving me lddd maybe a bit like giving a 2 year old a loaded gun ;-)
My gratitude goes to all those packagers out there many thanks to all of you.
Last edited by FeatherMonkey (2009-06-21 10:16:29)
Similar Messages
-
Building against specific version [Solved]
Hi!
Me and many others have been having huge performance issues with libjpeg7 and backdrops/fanart in xbmc-svn. To fix this problem I need to recompile the xbmc-svn package against libjpeg6. I'm really finding this difficult. Can someone help me out? If I have libjpeg7 installed while compiling the build insist on using libjpeg7 (even though I've got libjpeg6 installed from the AUR). If I delete libjpeg7 (and only have libjpeg6 installed) the compiling fails with error 'missing jpeglib.h'. How am I supposed to get the build to use libjpeg6? As you can see in the PKGBUILD I've tried to put in 'CPPFLAGS="-I/usr/include/libjpeg6" || return 1' and I've changed the dependency from 'libjpeg' to libjpeg6. Still it won't work.
Here's the PKGBUILD I'm using:
# Contributors : Richard Atkinson atkinsonr-at-gmail
# Ralf Barth <archlinux dot org at haggy dot org>
# Original credits go to Edgar Hucek <gimli at dark-green dot com>
# for his xbmc-vdpau-vdr PKGBUILD at https://archvdr.svn.sourceforge.net/svnroot/archvdr/trunk/archvdr/xbmc-vdpau-vdr/PKGBUILD
pkgname=xbmc-svn
pkgver=22473
pkgrel=2
pkgdesc="XBMC Media Center from SVN"
provides=('xbmc')
conflicts=('xbmc' 'xbmc-smoothvideo' 'xbmc-vdpau')
arch=('i686' 'x86_64')
url="http://xbmc.org"
license=('GPL' 'LGPL')
depends=('alsa-lib' 'curl' 'enca' 'faac' 'freetype2' 'fribidi' 'gawk' 'glew'
'hal' 'jasper' 'libgl' 'libmad' 'libmysqlclient' 'libjpeg6'
'libxinerama' 'libxrandr' 'lzo2' 'sdl_image' 'sdl_mixer' 'sqlite3'
'tre' 'unzip' 'libcdio' 'libsamplerate' 'python' 'avahi' 'libmad'
'a52dec' 'libdca' 'faad2' 'libmpeg2' 'libvorbis' 'libogg' 'libmms'
'libmpcdec' 'flac' 'wavpack' 'xorg-utils' 'smbclient')
makedepends=('subversion' 'autoconf' 'automake' 'boost' 'cmake' 'gcc' 'gperf'
'libtool>=2.2.6a-1' 'make' 'nasm' 'patch' 'pkgconfig' 'zip' 'flex' 'bison')
optdepends=('lirc: remote controller support'
'pmount: mount removable devices as normal user'
'unrar: access compressed files without unpacking them')
install=("${pkgname}.install")
source=('libcurl-not-in-lib64.patch')
noextract=('libcurl-not-in-lib64.patch')
md5sums=('c5e808703d0c9e392e1c2837fea1a5ef')
options=(makeflags)
_svnmod=XBMC
_prefix=/usr
build() {
_svntrunk=https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk
CPPFLAGS="-I/usr/include/libjpeg6" || return 1
cd ${srcdir}/
if [ -d $_svnmod/.svn ]; then
msg "SVN tree found, reverting changes and updating to -r$pkgver"
(cd $_svnmod && svn revert -R . && svn up -r $pkgver) || return 1
else
msg "Checking out SVN tree of -r$pkgver"
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod || return 1
fi
# Apply patches
cd "$srcdir/$_svnmod"
# Arch's libcurl lives in /usr/lib, not /usr/lib64 - fix the path:
msg "Patching with libcurl-not-in-lib64.patch"
patch -p0 < "$srcdir/libcurl-not-in-lib64.patch" || return 1
# Goom also needs a fixup due to newer autotools
msg "Fixing Goom build system"
cd "$srcdir/$_svnmod/xbmc/visualizations/Goom/goom2k4-0"
aclocal
libtoolize --copy --force
./autogen.sh --enable-static --with-pic
# Distclean shipped ffmpeg - sometimes breaks du to leftovers
cd "$srcdir/$_svnmod/xbmc/cores/dvdplayer/Codecs/ffmpeg"
make distclean
# Configure XBMC
# Note on external-libs:
# - We cannot use external python because Arch's python was built with
# UCS2 unicode support, whereas xbmc expects UCS4 support
# - We cannot use Arch's libass because it's incompatible with XBMC's
# subtitle rendering
# - We cannot use external ffmpeg because we would loose VDPAU functionality
cd "$srcdir/$_svnmod"
msg "Configuring XBMC"
make distclean
./configure --prefix=${_prefix} \
--enable-external-libmad \
--enable-external-liba52 \
--enable-external-libdts \
--enable-external-libfaad \
--enable-external-libmpeg2 \
--enable-external-libvorbis \
--enable-external-libogg \
--enable-external-libmpcdec \
--enable-external-libflac \
--enable-external-libwavpack \
--disable-external-libass \
--disable-external-ffmpeg \
--disable-external-python \
--disable-debug || return 1
# Now (finally) build
msg "Running make"
make || return 1
package() {
cd "$srcdir/$_svnmod"
msg "Running make install"
make prefix=${pkgdir}${_prefix} install || return 1
# Install
install -Dm755 ${srcdir}/$_svnmod/xbmc-xrandr \
${pkgdir}${_prefix}/share/xbmc/xbmc-xrandr || return 1
install -Dm644 ${srcdir}/$_svnmod/tools/Linux/xbmc.desktop \
${pkgdir}${_prefix}/share/applications/xbmc.desktop || return 1
install -Dm644 ${srcdir}/$_svnmod/tools/Linux/xbmc.png \
${pkgdir}${_prefix}/share/pixmaps/xbmc.png || return 1
install -Dm755 ${srcdir}/$_svnmod/tools/XBMCTex/XBMCTex \
${pkgdir}${_prefix}/share/xbmc/tools/xbmctex || return 1
# Skins often use build.sh that looks for /usr/bin/XBMCTex
ln -s "${_prefix}/share/xbmc/tools/xbmctex" "$pkgdir/usr/bin/XBMCTex"
install -dm755 ${pkgdir}${_prefix}/share/licenses/${pkgname}
for licensef in LICENSE.GPL README.linux copying.txt; do
mv ${pkgdir}${_prefix}/share/xbmc/${licensef} \
${pkgdir}${_prefix}/share/licenses/${pkgname} || return 1
done
Last edited by Perre (2009-09-27 12:17:12)ould wrote:
I have done the hard work for you. My HTPC is pretty barebones so it was relatively easy to roll back all the packages that depend on libjpeg>7 with older versions. I then compiled the xbmc-svn package using that system. Slow downs are gone and I have uploaded the package to hotfile here:
http://hotfile.com/dl/13546051/021f9c9/ … ar.gz.html
This is for 32-bit. You will need the libjpeg6 package from AUR installed. I have tested it on two systems, my main system which has both libjpeg7 and the AUR libjpeg6 installed and on my htpc which has only the libjpeg6 along with the rolled back dependancies. Works good on both systems.
Hope that helps!
Kevin
Thanks ould!! You got it working with libjpeg6 again!
I had to upgrade libcdio again so now I lost dvd support. It's not easy to use the svn version.
If you could compile the build against libcdio 0.80 I'd be forever grateful... If you've got the time.
Last edited by Perre (2009-09-26 17:09:04) -
Dyld: shared cached file was build against a different libSystem.dylib?
Hi
i have a strange error when i open terminal or the console:
dyld: shared cached file was build against a different libSystem.dylib, ignoring cache.
so i know how to repair this so i did:
sudo update_dyld_shared_cache -force
And when i did that, i get some strange warning :
warning, could not bind /System/Library/QuickTime/QuickTimeMPEG4.component/Contents/MacOS/QuickTimeMPEG 4 because realpath() failed on
/System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
update_dyld_shared_cache[1255] current cache file is invalid because it contains a different set of dylibs
update_dyld_shared_cache failed: could not resolve _CGSAcceleratorForDisplayAlias expected in /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services in /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTim eComponents
And this message still comes up! :
dyld: shared cached file was build against a different libSystem.dylib, ignoring cache.
It's realy annoying, please help?!We have been suffering this too. Fortunatly, finally, we figure out how to clear the share cache via Safe Boot now. Sharing with everybody:
-Shut down your Mac.
-Start your Mac, and keep pressing Shift key when the start music begins.
-When Apple logo comes, the spinning ball appears, you can leave the Shift key.
-Your certain OS open, and your caches will be cleaned.
-Then Restart your certain OS.
Now, congratulations, you will never see the warning message in your Terminal or Console.
Hope this helpful.
Love
XPGtester -
Are there any sample DRM protected streams to build against?
Hi,
I'm trying to test various elements of DRM (including problems with incognito mode...) and need a DRM protected stream to build against. Customer currently too snowed under with other things to provide one, so wondering whether there were any available from Adobe or anyone else?
I did find a link or two to things like; http://drmtest2.adobe.com:8080/Content/anonymous.f4v
But all of the links to drmtest2 come up as dead or moved.
Any ideas where they may have gone to?
Thanks,
GHi Gaius,
Welcome to Adobe Forums.
Please try the following steps in order to use the Test Player and stream:
First, launch the Adobe demo video player container: http://drmtest2.adobe.com:8080/SVP/SampleVideoPlayer_FP.html
Note the Adobe Flash Player version in the lower left of the demo video shell. Make sure that indicate 11.2 or higher
Play sample protected content.
Enter the following URL in the field "Input the video URL: (case-sensitive)
http://drmtest2.adobe.com:8080/Content/anonymous.f4v
Press the [Play] button at the bottom of the video container.
The anonymous.f4v protected content should play. (This video is called the Getty "train" video.)
Hope it helps! Let me know incase you face any issues.
Regards,
Diana -
[SOLVED] Building 32bit gtk2 theme engines for binary 32bit apps
Hello, I love the nimbus theme and have installed it from the AUR.
Sadly, there are applications like acroread, foxitreader etc. that won't load the engine and use a nasty default saying
Gtk-Message: Failed to load module "/opt/lib32/usr/lib/gtk-2.0/modules/libgnomebreakpad.so": /opt/lib32/usr/lib/gtk-2.0/modules/libgnomebreakpad.so: cannot open shared object file: No such file or directory
(FoxitReader:10389): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libnimbus.so: wrong ELF class: ELFCLASS64
(FoxitReader:10389): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libnimbus.so: wrong ELF class: ELFCLASS64
Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: ELFCLASS64
Gtk-Message: Failed to load module "gnomebreakpad": /usr/lib/gtk-2.0/modules/libgnomebreakpad.so: wrong ELF class: ELFCLASS64
As far as I understand, especially since using the Clearlooks engine, everything works as intended. Clearlooks however has a 32bit version in
/opt/lib32/usr/lib/gtk-2.0/2.10.0/engines
I want to be able to use the nimbus theme everywhere. However I can't figure out how to make a 32bit binary with the provided gcc and moreover, where to put the resulting files.
Please help, it really murders consistency and renders 64bit Arch a real pain in the a**. I know about the pure 64bit stance, but honestly, there are some apps that are simply only 32bit.
Last edited by clamshell (2009-08-16 18:58:20)Okay so... status update.
I really wanted to make Acrobat Reader work with the Nimbus theme.
I used yaourt in a hastily set-up chroot and build the package from the aur (fortunately you can cancel the actual installation). I then copied the pkg.tar.gz to my desktop.
The 32bit Gtk themes are installed in:
/opt/lib32/usr/lib/gtk-2.0/2.10.0/engines
I used the line from the AUR pkgbuild:
cp -rPf "$srcdir/usr/lib/gtk-2.0/2.10.0/engines" "$pkgdir/opt/lib32/usr/lib/gtk-2.0/2.10.0"
So, on my system:
cp -rPf /home/dan/Desktop/usr/lib/gtk-2.0/2.10.0/engines/ /opt/lib32/usr/lib/gtk-2.0/2.10.0/
after having unzipped the package - nimbus-0.1.2-2-i686.pkg.tar.gz.
The -r option means recursive, the -P option preserver permissions and the -f option checks if the destination file can be opened and if not, deletes it and recopies.
You will notice that in the above directory, you'll find 2 files - libnimbus.a and libnimbus.so
All the other themes only have the shared object file and the .a file is an archive as far as nautilus is concerned (can't open it, need ar apparently). Everything seems to work if you delete the .a file. I am not sure if the file is only appears with this theme, or with any theme installed this way.
So, finally, it worked. Acrobat opened and used the new theme.
But...
Vertical scrollbar problem
by LucasVieites on: May 4 2009
Hi, the vertical scrollbars overlap when viewing large documents. This screenshot is from Adobe Reader opening a 600 page document: http://www.codexion.com/files/pdf_reader_nimbus.png
I hope this can be solved.
from the gnome-look.org site.
So, it's bugged. The theme. Anyway, the tutorial should work just fine on any non-standard theme you need to use in 32bit apps. It could probably be automated a bit more and perhaps with a multilib gcc, you could do it some other way.
The point is you really need the libnimbus.so. The shared resources are architecture independent and the standard path will work.
Oh and I've given up on the nimbus theme itself actually. Care to suggest any good gtk theme? -
[solved] Building with JHBuild needs the Python libxml2 package
Hi all, I'm attempting to build GNOME Music with JHBuild. It's failing with an error about needing the Python package for libxml2 while building itstool.
You can find my jhbuildrc here. Here's the log:
*** Checking out itstool *** [2/64]
*** Configuring itstool *** [2/64]
./configure --prefix /usr/local/gnome --libdir '/usr/local/gnome/lib64' --disable-static --disable-gtk-doc PYTHON=/usr/bin/python2
configure: WARNING: unrecognized options: --disable-static, --disable-gtk-doc
checking for a BSD-compatible install... /usr/bin/install-check
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether /usr/bin/python2 version >= 2.6... yes
checking for /usr/bin/python2 version... 2.7
checking for /usr/bin/python2 platform... linux2
checking for /usr/bin/python2 script directory... ${prefix}/lib/python2.7/site-packages
checking for /usr/bin/python2 extension module directory... ${exec_prefix}/lib/python2.7/site-packages
checking for python module libxml2... not found
configure: error: Python module libxml2 is needed to run this package
*** Error during phase configure of itstool: ########## Error running ./configure --prefix /usr/local/gnome --libdir '/usr/local/gnome/lib64' --disable-static --disable-gtk-doc PYTHON=/usr/bin/python2 *** [2/64]
I've tried installing python2-lxml - no luck. I've also tried
sudo pip2 install lxml
again with no luck. Is there some environment variable that I need to be setting?
I've searched the BBS, I've Googled, and I've looked at the GNOME Wiki.
jhbuild sanitycheck
returns 0 with no output. I tried
jhbuild bootstrap
too - that said it built one thing (didn't say what), but did nothing to fix my problem.
Any ideas?
Last edited by strugee (2014-04-13 21:08:57)jdbrown wrote:Does this solve your problem?
Yes, thanks so much. Should have checked the wiki... -
[SOLVED]Building in a Clean Chroot error: Build failed, check ~/build
Hello everyone
I am trying to build qt4 and qtwebkit in clean chroot but when I run makechrootpkg (according to DeveloperWiki:Building in a Clean Chroot) I get an error message:
$ sudo makechrootpkg -c -r /home/zuargo/chroot/
==> Creating clean working copy...done
==> ERROR: Build failed, check /home/zuargo/chroot/zuargo/build
As you see chroot directory is contained in my home folder.
I have checked /home/zuargo/chroot/zuargo/build and I see just the PKGBUILD and another random file (it depends on the package to build). No useful information.
I have made twice the chroot directory and in both times I get the same error.
Does somebody have any idea on how to solve this trouble or how to get information related to the error?
Thanks in advance
Last edited by zuargo (2013-04-19 14:12:53)Thank you
I have new information.
Searching for information on the forum (this one) I have found this thread: https://bbs.archlinux.org/viewtopic.php?pid=1260353
The user that started the topic, had (or have) a very similar issue. At the first post, he says has fixed the problem by downgrading the package devtools to the version 20120720. So then, I did the same thing.
I had installed devtools 20130408 and in the cache of Pacman, I have the version 20130127, 20130122, 20121115, 20121027, 20121013, 20120720 of this package. I have downgraded to all these versions of devtools, one by one. In some cases, after downgrading and by creating the chroot directory I got errors, either with the package systemd or with the package filesystem. In the first case, the error did not affect the creation fo the chroot directory. In the second case (with filesystem), creating the directory was not successful, getting an error message (see below).
I proceed to list each devtool package (its version) and the error I have got, when I tried to create the chroot directory:
> devtools-20120720-1-any.pkg.tar.xz
systemd's error:
( 38/130) installing systemd [##########################################] 100%
Initializing machine ID from random generator.
ln -s '/usr/lib/systemd/system/[email protected]' '/etc/systemd/system/getty.target.wants/[email protected]'
:: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
Also an error with lacale-gen:
chroot: failed to run command '/usr/sbin/locale-gen': No such file or directory
Creating chroot directory successful
No error by building packages with makechrootpkg into the chroot directory.
> devtools-20121013-1-any.pkg.tar.xz
filesystem's error:
( 4/130) installing filesystem [##########################################] 100%
error: could not rename /home/zuargo/chroot/root/etc/resolv.conf to /home/zuargo/chroot/root/etc/resolv.conf.pacorig (Device or resource busy)
error: problem occurred while installing filesystem
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.
==> ERROR: Failed to install packages to new root
==> ERROR: Failed to install all packages
Creating chroot directory was not successful
> devtools-20121027-1-any.pkg.tar.xz
filesystem's error:
( 4/130) installing filesystem [##########################################] 100%
error: could not rename /home/zuargo/chroot/root/etc/resolv.conf to /home/zuargo/chroot/root/etc/resolv.conf.pacorig (Device or resource busy)
error: problem occurred while installing filesystem
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.
==> ERROR: Failed to install packages to new root
==> ERROR: Failed to install all packages
Creating chroot directory was not successful
> devtools-20121115-1-any.pkg.tar.xz
filesystem's error:
( 4/130) installing filesystem [##########################################] 100%
error: could not rename /home/zuargo/chroot/root/etc/resolv.conf to /home/zuargo/chroot/root/etc/resolv.conf.pacorig (Device or resource busy)
error: problem occurred while installing filesystem
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.
==> ERROR: Failed to install packages to new root
==> ERROR: Failed to install all packages
Creating chroot directory was not successful
> devtools-20130122-1-any.pkg.tar.xz
systemd's error:
( 38/130) installing systemd [##########################################] 100%
Initializing machine ID from random generator.
ln -s '/usr/lib/systemd/system/[email protected]' '/etc/systemd/system/getty.target.wants/[email protected]'
:: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
Error by building packages with makechrootpkg into the chroot directory:
==> Creating clean working copy...done
==> ERROR: Build failed, check /home/zuargo/chroot/zuargo/build
> devtools-20130127-1-any.pkg.tar.xz
systemd's error:
( 38/130) installing systemd [##########################################] 100%
Initializing machine ID from random generator.
ln -s '/usr/lib/systemd/system/[email protected]' '/etc/systemd/system/getty.target.wants/[email protected]'
:: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
Error by building packages with makechrootpkg into the chroot directory:
==> Creating clean working copy...done
==> ERROR: Build failed, check /home/zuargo/chroot/zuargo/build
> devtools-20130408-1-any.pkg.tar.xz
systemd's error:
( 38/130) installing systemd [##########################################] 100%
Initializing machine ID from random generator.
ln -s '/usr/lib/systemd/system/[email protected]' '/etc/systemd/system/getty.target.wants/[email protected]'
:: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your
bootloader to replace sysvinit with systemd, or install systemd-sysvcompat
Error by building packages with makechrootpkg into the chroot directory:
==> Creating clean working copy...done
==> ERROR: Build failed, check /home/zuargo/chroot/zuargo/build
As see, the only one package that allows me to build into chroot directory with no errors is devtools-20120720.
Now I can build packages into a clean chroot directory. But I can't update devtools. -
[solved] Building a kernel meant for one computer on another computer?
Hi!
Is it possible to use my laptop to build a kernel meant for a much slower desktop computer?
They're both running up-to-date Arch i686.
Last edited by francisc1701 (2010-02-14 17:43:24)Everything does after its answered. Please mark solved. And you're welcome
-
[solved] Build of php package with mssql support - checking my process
Since the straight 'php' package doesn't support mssql, I'm in the process of trying to build and install an updated copy that has that switch turned on. The information I've seen out there seems pretty straight forward, but my results are odd, so I'm checking my work here...
I did an abs to pull down the tree (had to use abs -t), created an abs directory under my root home dir, then copied the extra/php branch to /root/abs/php
Edit the PKGBUILD adding the line
--with-mssql \
to the end (line 130) of the list of phpextensions= that is later used in the ./configure line of PKGBUILD. Then from the same directory, run makepkg --asroot -f
then remove the old php with pacman -Rd php
then install the new php with pacman -U ./php-5.3.2-6-i686.pkg.tar.xz
Then modify my php.ini for mssql support
and then get the wierd results:
- php reports it does not have mssql support. phpinfo() shows the ./configure command line and the --with-mssql piece is not there.
- a php -m reports "PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mssql.so' - /usr/lib/php/modules/mssql.so: cannot open shared object file: No such file or directory in Unknown on line 0
A search for mssql.so comes up empty on the system. I am not sure why it isn't there, but I wanted to make sure I was doing the above steps first before running down the php code specific rabbit hole trying to find mssql.so in case it is under a different name in the source and then compiled out to be mssql.so in the end result.
(note - I have freetds on the system along with it's source files from the package, and no mssql.so in there either)
Thanks,
-Jeff
Last edited by jethro (2010-09-22 19:33:55)Did all that, no real errors, only a few warnings, but did figure out what was going on and will put it here in case anyone searches on this and is in the same boat. In search of mssql.so I found this web page http://howtogetitworking.com/2008/02/26 … p-on-unix/ which talks about needing to build the mssql.so file yourself. Specifically, going into src//ext/mssql/ then
# cd /uploaded_path/mssql/
# phpize
# ./configure
# make
# make install
and suddenly I have mssql.so, restart apache and I have mssql support. I wasn't expecting to have to compile a subsection of php after doing a package build with the switches I wanted, but I guess that's what I had to do.
Thanks,
-Jeff -
Why is package 'redis' enforced to build against libc?
Hi,
after having heavy memory fragmentation issues on my redis instance I found out that since version 2.4 they switched to jemalloc as the default allocator on linux (please see https://github.com/antirez/redis).
So I wonder why the use of libc is enforced in the package? jemalloc is included in the source so there would be no additional dependency.
For me it solved my memory fragmentation issues!
GreetingsYou could also post to https://mail.mozilla.org/listinfo/mobile-firefox-dev if being on line when the Americas and Europe are awake is inconvenient.
In addition https://wiki.mozilla.org/Mobile/Fennec/Android#Mac_OS_X tends to be more up to date than DevMo. -
[solved] build files.tar.gz
Hi,
how can I build the files.tar.gz for pkgbuild for my own repository?
Regards,
Andrwe
Last edited by Andrwe (2010-02-19 18:21:03)http://projects.archlinux.org/dbscripts … -filelists
-
[solved] building the kernel headers for custom kernels
well, ive been building several different kernels for my laptop, so that i can test stuff. but ive got a problem with the kernel headers.
ive mirrored the arch kernel's PKGBUILD and modified some naming to get a custom kernel. but when i try to build a custmo module, it complains the headers are broken. (example, vbox_build_module).
im pasting the pkgbuild here for future reference...if someone sees something thats plain wrong, please say so.
thanks
# $Id: PKGBUILD 60382 2009-12-04 15:31:11Z tpowa $
# Maintainer: Tobias Powalowski <[email protected]>
# Maintainer: Thomas Baechler <[email protected]>
pkgbase="kernel26"
#pkgname=('kernel26' 'kernel26-firmware' 'kernel26-headers') # Build stock -ARCH kernel
pkgname=('kernel26-git' 'kernel26-git-headers') # Build kernel with a different name
_kernelname=${pkgname#kernel26}
pkgver=2.6.34
pkgrel=1
_patchname=""
_branch="linux-2.6"
_gittag="v2.6.34-rc3"
#_gittag="origin"
arch=(i686 x86_64)
license=('GPL2')
groups=('base')
url="http://www.kernel.org"
source=(config
# standard config files for mkinitcpio ramdisk
kernel26.preset
${_patchname})
build() {
cd ${srcdir}/$_branch
msg "Fetching branch ${_branch}"
## FOR BISECT, Comment these lines
git reset --hard
git clean -d -f
git fetch
msg "Cheking out tag ${_gittag}"
git checkout $_gittag
### a patch
if [ "${_patchname}" != "" ]; then
patch -Np1 -i ${srcdir}/$_patchname || return 1
fi
# if [ "$CARCH" = "x86_64" ]; then
cat ../config.x86_64 >./.config
# else
cat ../config >./.config
# fi
if [ "${_kernelname}" != "" ]; then
sed -i "s|CONFIG_LOCALVERSION=.*|CONFIG_LOCALVERSION=\"${_kernelname}\"|g" ./.config
fi
# get kernel version
make prepare
# load configuration
# Configure the kernel. Replace the line below with one of your choice.
make menuconfig # CLI menu for configuration
#make xconfig # X-based configuration
#make oldconfig # using old config from previous kernel version
# ... or manually edit .config
# stop here
# this is useful to configure the kernel
#msg "Stopping build"
#return 1
yes "" | make config
# build!
make bzImage modules || return 1
package_kernel26-git() {
pkgdesc="The Linux Kernel and modules"
backup=(etc/mkinitcpio.d/${pkgname}.preset)
depends=('coreutils' 'kernel26-firmware>=2.6.32' 'module-init-tools' 'mkinitcpio>=0.5.20')
# pwc, ieee80211 and hostap-driver26 modules are included in kernel26 now
# nforce package support was abandoned by nvidia, kernel modules should cover everything now.
# kernel24 support is dropped since glibc24
replaces=('kernel24' 'kernel24-scsi' 'kernel26-scsi'
'alsa-driver' 'ieee80211' 'hostap-driver26'
'pwc' 'nforce' 'squashfs' 'unionfs' 'ivtv'
'zd1211' 'kvm-modules' 'iwlwifi' 'rt2x00-cvs'
'gspcav1' 'atl2' 'wlan-ng26' 'rt2500')
install=kernel26.install
optdepends=('crda: to set the correct wireless channels of your country')
KARCH=x86
cd ${srcdir}/$_branch
_kernver="$(make kernelrelease)"
mkdir -p ${pkgdir}/{lib/modules,boot}
make INSTALL_MOD_PATH=${pkgdir} modules_install || return 1
cp System.map ${pkgdir}/boot/System.map26${_kernelname}
cp arch/$KARCH/boot/bzImage ${pkgdir}/boot/vmlinuz26${_kernelname}
# # add vmlinux
install -m644 -D vmlinux ${pkgdir}/usr/src/linux-${_kernver}/vmlinux
# install fallback mkinitcpio.conf file and preset file for kernel
install -m644 -D ${srcdir}/kernel26.preset ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset || return 1
# set correct depmod command for install
sed \
-e "s/KERNEL_NAME=.*/KERNEL_NAME=${_kernelname}/g" \
-e "s/KERNEL_VERSION=.*/KERNEL_VERSION=${_kernver}/g" \
-i $startdir/kernel26.install
sed \
-e "s|source .*|source /etc/mkinitcpio.d/kernel26${_kernelname}.kver|g" \
-e "s|default_image=.*|default_image=\"/boot/${pkgname}.img\"|g" \
-e "s|fallback_image=.*|fallback_image=\"/boot/${pkgname}-fallback.img\"|g" \
-i ${pkgdir}/etc/mkinitcpio.d/${pkgname}.preset
echo -e "# DO NOT EDIT THIS FILE\nALL_kver='${_kernver}'" > ${pkgdir}/etc/mkinitcpio.d/${pkgname}.kver
# remove build and source links
rm -f ${pkgdir}/lib/modules/${_kernver}/{source,build}
# remove the firmware
rm -rf ${pkgdir}/lib/firmware
package_kernel26-git-headers() {
pkgdesc="Header files and scripts for building modules for kernel26"
mkdir -p ${pkgdir}/lib/modules/${_kernver}
cd ${pkgdir}/lib/modules/${_kernver}
ln -sf ../../../usr/src/linux-${_kernver} build
cd ${srcdir}/$_branch
install -D -m644 Makefile \
${pkgdir}/usr/src/linux-${_kernver}/Makefile
install -D -m644 kernel/Makefile \
${pkgdir}/usr/src/linux-${_kernver}/kernel/Makefile
install -D -m644 .config \
${pkgdir}/usr/src/linux-${_kernver}/.config
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include
for i in acpi asm-{generic,x86} config linux math-emu media net pcmcia scsi sound trace video; do
cp -a include/$i ${pkgdir}/usr/src/linux-${_kernver}/include/
done
# copy arch includes for external modules
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/x86
cp -a arch/x86/include ${pkgdir}/usr/src/linux-${_kernver}/arch/x86/
# copy files necessary for later builds, like nvidia and vmware
cp Module.symvers ${pkgdir}/usr/src/linux-${_kernver}
cp -a scripts ${pkgdir}/usr/src/linux-${_kernver}
# fix permissions on scripts dir
chmod og-w -R ${pkgdir}/usr/src/linux-${_kernver}/scripts
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/.tmp_versions
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel
cp arch/$KARCH/Makefile ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
if [ "$CARCH" = "i686" ]; then
cp arch/$KARCH/Makefile_32.cpu ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/
fi
cp arch/$KARCH/kernel/asm-offsets.s ${pkgdir}/usr/src/linux-${_kernver}/arch/$KARCH/kernel/
# add headers for lirc package
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video
cp drivers/media/video/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/
for i in bt8xx cpia2 cx25840 cx88 em28xx et61x251 pwc saa7134 sn9c102 usbvideo zc0301; do
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
cp -a drivers/media/video/$i/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/video/$i
done
# add docbook makefile
install -D -m644 Documentation/DocBook/Makefile \
${pkgdir}/usr/src/linux-${_kernver}/Documentation/DocBook/Makefile
# add dm headers
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
cp drivers/md/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/md
# add inotify.h
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/linux
cp include/linux/inotify.h ${pkgdir}/usr/src/linux-${_kernver}/include/linux/
# add wireless headers
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
cp net/mac80211/*.h ${pkgdir}/usr/src/linux-${_kernver}/net/mac80211/
# add dvb headers for external modules
# in reference to:
# http://bugs.archlinux.org/task/9912
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core
cp drivers/media/dvb/dvb-core/*.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/dvb-core/
# add dvb headers for external modules
# in reference to:
# http://bugs.archlinux.org/task/11194
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
cp include/config/dvb/*.h ${pkgdir}/usr/src/linux-${_kernver}/include/config/dvb/
# add dvb headers for http://mcentral.de/hg/~mrec/em28xx-new
# in reference to:
# http://bugs.archlinux.org/task/13146
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
cp drivers/media/dvb/frontends/lgdt330x.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
cp drivers/media/video/msp3400-driver.h ${pkgdir}/usr/src/linux-${_kernver}/drivers/media/dvb/frontends/
# add xfs and shmem for aufs building
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/mm
cp fs/xfs/xfs_sb.h ${pkgdir}/usr/src/linux-${_kernver}/fs/xfs/xfs_sb.h
# add headers vor virtualbox
# in reference to:
# http://bugs.archlinux.org/task/14568
cp -a include/drm $pkgdir/usr/src/linux-${_kernver}/include/
# add headers for broadcom wl
# in reference to:
# http://bugs.archlinux.org/task/14568
cp -a include/trace $pkgdir/usr/src/linux-${_kernver}/include/
# copy in Kconfig files
for i in `find . -name "Kconfig*"`; do
mkdir -p ${pkgdir}/usr/src/linux-${_kernver}/`echo $i | sed 's|/Kconfig.*||'`
cp $i ${pkgdir}/usr/src/linux-${_kernver}/$i
done
cd ${pkgdir}/usr/src/linux-${_kernver}/include && ln -s asm-$KARCH asm
# add header for aufs2-util
cp -a ${srcdir}/$_branch/include/asm-generic/bitsperlong.h ${pkgdir}/usr/src/linux-${_kernver}/include/asm/
chown -R root.root ${pkgdir}/usr/src/linux-${_kernver}
find ${pkgdir}/usr/src/linux-${_kernver} -type d -exec chmod 755 {} \;
# remove unneeded architectures
rm -rf ${pkgdir}/usr/src/linux-${_kernver}/arch/{alpha,arm,arm26,avr32,blackfin,cris,frv,h8300,ia64,m32r,m68k,m68knommu,mips,microblaze,mn10300,parisc,powerpc,ppc,s390,sh,sh64,sparc,sparc64,um,v850,xtensa}
package_kernel26-firmware() {
pkgdesc="The included firmware files of the Linux Kernel"
groups=('base')
cd ${srcdir}/$_branch
make firmware || return 1
make INSTALL_MOD_PATH=${pkgdir} firmware_install || return 1
Last edited by eldragon (2010-04-04 14:58:16)ngoonee wrote:
Check out this line
for i in acpi asm-{generic,x86} config linux math-emu media net pcmcia scsi sound trace video; do
for anything that might be missing. The error message when compiling would give you more of a clue. Off-hand, you may need to add 'generated', as I recall I needed that when the kernel moved to 2.6.33.
Problem with vbox_build_module after Kernel update.
Would you care to elaborate for us less versed in "Linux Geek" skills?
Thanks.......
[root@Arch2009p2 jeff]# vbox_build_module
Building vboxdrv for Linux 2.6.33-ARCH
make[1]: Entering directory `/opt/VirtualBox/src/vboxdrv'
for f in . linux r0drv r0drv/generic r0drv/linux VBox common/err common/string common/log generic math/gcc; \
do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxdrv* .tmp_ver* vboxdrv.* Module.symvers Modules.symvers modules.order
make[1]: Leaving directory `/opt/VirtualBox/src/vboxdrv'
make[1]: Entering directory `/opt/VirtualBox/src/vboxnetflt'
for f in . linux r0drv r0drv/linux VBox common/err common/string common/log generic math/gcc; \
do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxnetflt* .tmp_ver* vboxnetflt.* Modules.symvers modules.order
make[1]: Leaving directory `/opt/VirtualBox/src/vboxnetflt'
make[1]: Entering directory `/opt/VirtualBox/src/vboxnetadp'
for f in . linux r0drv r0drv/linux VBox common/err common/string common/log generic math/gcc; \
do rm -f $f/*.o $f/.*.cmd $f/.*.flags; done
rm -rf .vboxnetadp* .tmp_ver* vboxnetadp.* Modules.symvers modules.order
make[1]: Leaving directory `/opt/VirtualBox/src/vboxnetadp'
rm -f vboxdrv.ko vboxnetflt.ko vboxnetadp.ko
*** Building 'vboxdrv' module ***
make[1]: Entering directory `/opt/VirtualBox/src/vboxdrv'
make KBUILD_VERBOSE= -C /lib/modules/2.6.33-ARCH/build SUBDIRS=/opt/VirtualBox/src/vboxdrv SRCROOT=/opt/VirtualBox/src/vboxdrv modules
make[2]: Entering directory `/usr/src/linux-2.6.33-ARCH'
CC [M] /opt/VirtualBox/src/vboxdrv/linux/SUPDrv-linux.o
In file included from /opt/VirtualBox/src/vboxdrv/include/VBox/types.h:34,
from /opt/VirtualBox/src/vboxdrv/linux/../SUPDrvInternal.h:39,
from /opt/VirtualBox/src/vboxdrv/linux/SUPDrv-linux.c:37:
/opt/VirtualBox/src/vboxdrv/include/iprt/types.h:100:30: error: linux/autoconf.h: No such file or directory
make[3]: *** [/opt/VirtualBox/src/vboxdrv/linux/SUPDrv-linux.o] Error 1
make[2]: *** [_module_/opt/VirtualBox/src/vboxdrv] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.33-ARCH'
make[1]: *** [vboxdrv] Error 2
make[1]: Leaving directory `/opt/VirtualBox/src/vboxdrv'
make: *** [all] Error 2 -
[SOLVED] Building fglrx module for 3.11.3-1-ARCH kernel error
I got this error today:
2013-09-28 14:07:59
Building fglrx module for 3.11.2-1-ARCH kernel ...
OsVersion says: SMP=1
file /proc/kallsyms says: SMP=1
file /usr/lib/modules/3.11.2-1-ARCH/build/include/generated/autoconf.h says: SMP=1
file /usr/lib/modules/3.11.2-1-ARCH/build/include/generated/autoconf.h says: MODVERSIONS=1
file /usr/lib/modules/3.11.2-1-ARCH/build/arch/x86/include/asm/compat.h says: COMPAT_ALLOC_USER_SPACE=arch_compat_alloc_user_space
make: Entering directory `/usr/src/linux-3.11.2-1-ARCH'
CC [M] /tmp/catalyst.aHP3fa/firegl_public.o
CC [M] /tmp/catalyst.aHP3fa/kcl_acpi.o
CC [M] /tmp/catalyst.aHP3fa/kcl_agp.o
CC [M] /tmp/catalyst.aHP3fa/kcl_debug.o
CC [M] /tmp/catalyst.aHP3fa/kcl_ioctl.o
CC [M] /tmp/catalyst.aHP3fa/kcl_io.o
CC [M] /tmp/catalyst.aHP3fa/kcl_pci.o
CC [M] /tmp/catalyst.aHP3fa/kcl_str.o
CC [M] /tmp/catalyst.aHP3fa/kcl_iommu.o
CC [M] /tmp/catalyst.aHP3fa/kcl.o
CC [M] /tmp/catalyst.aHP3fa/kcl_wait.o
LD [M] /tmp/catalyst.aHP3fa/fglrx.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/catalyst.aHP3fa/fglrx.mod.o
LD [M] /tmp/catalyst.aHP3fa/fglrx.ko
make: Leaving directory `/usr/src/linux-3.11.2-1-ARCH'
Ok.
2013-10-05 14:20:34
Building fglrx module for 3.11.3-1-ARCH kernel ...
Kernel header files are absent: directory /usr/lib/modules/3.11.3-1-ARCH/build doesn't exist! Game over
2013-10-05 14:20:41
Building fglrx module for 3.11.3-1-ARCH kernel ...
Kernel header files are absent: directory /usr/lib/modules/3.11.3-1-ARCH/build doesn't exist! Game over
I don't know why, and I do not know if I care.
Last edited by patrickmaciel (2013-10-06 19:31:53)fazo96 wrote:I think it's because of the new kernel. Reinstalling is not a solution, it's avoiding the problem ;D
Instead, I switched to catalyst-hook (I used catalyst) and upgraded to kernel 3.11.4, the latest version of xorg (there was a new one), gnome 3.10 and the module compiled perfectly, so now everything works on my system
You right, but you know... I have a lot projects in queue and not have time to search and test evertying
But, now... catalyst has installed successfully, but, I think isn't working 100%, because, when I click (for example), in a Google Chrome tab, and move to left/right, all tabs disappear or are blurry.
Anyway, thanks. -
[SOLVED] Building VCS packages from AUR fails
Hello,
Whenever I try to build a git or svn package from AUR, build fails with the error in a clean chroot enviroment:
==> ERROR: Unknown download protocol: svn
Aborting...
When the build starts, makepkg actually downloads source files properly. Any clues?
Last edited by yuan_modu (2015-04-02 16:31:03)Trilby wrote:How many packages has this happened with? Can you give an example of one that produces this error? If the download proceeds when the build starts, it sounds like the PKGBUILD is outdated and is manually grabbing the source in the build function (in pacman<4.0 style).
I was building https://aur.archlinux.org/packages/uefi-shell-svn: a popular and up-to-date PKGBUILD.
Indeed I didn't merge the conf files of clean chroot. There was a makepkg.conf.pacnew, the lacking part in my old makepkg.conf was:
VCSCLIENTS=('bzr::bzr'
'git::git'
'hg::mercurial'
'svn::subversion')
and some small changes. Everything works fine now. Was my bad. Sorry for incovenience and thanks for your help.
Last edited by yuan_modu (2015-04-02 13:08:21) -
[solved] build failing: /usr/bin/ld: cannot find -lgd
I'm trying to satisfy crossover dependencies and recommendations. Found lib32-libgphoto2 on AUR with a few dependencies of its own, all of which I installed succesfully.
When doing a makepkg for lib32-libgphoto2 I get the following error:
libtool: link: gcc -m32 -shared -fPIC -DPIC ax203/.libs/ax203_la-library.o ax203/.libs/ax203_la-ax203.o ax203/.libs/ax203_la-ax203_decode_yuv.o ax203/.libs/ax203_la-ax203_decode_yuv_delta.o ax203/.libs/ax203_la-ax203_compress_jpeg.o ax203/.libs/ax203_la-jpeg_memsrcdest.o ax203/.libs/ax203_la-tinyjpeg.o ax203/.libs/ax203_la-jidctflt.o -Wl,-rpath -Wl,/home/someuser/Downloads/aur/lib32-libgphoto2/src/build/libgphoto2/.libs -Wl,-rpath -Wl,/home/someuser/Downloads/aur/lib32-libgphoto2/src/build/libgphoto2_port/libgphoto2_port/.libs -L/home/someuser/Downloads/aur/lib32-libgphoto2/src/build/libgphoto2_port/libgphoto2_port/.libs ../libgphoto2/.libs/libgphoto2.so -L/usr/lib32 /home/someuser/Downloads/aur/lib32-libgphoto2/src/build/libgphoto2_port/libgphoto2_port/.libs/libgphoto2_port.so -lexif ../libgphoto2_port/libgphoto2_port/.libs/libgphoto2_port.so -lltdl -lpthread -lgd -lz -lm -lpng16 -lfreetype -lfontconfig -ljpeg -m32 -march=x86-64 -mtune=generic -O2 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z -Wl,relro -Wl,-soname -Wl,ax203.so -Wl,-version-script -Wl,.libs/ax203.ver -o .libs/ax203.so
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-unknown-linux-gnu/4.8.2/../../../libgd.so when searching for -lgd
/usr/bin/ld: skipping incompatible /usr/lib/libgd.so when searching for -lgd
/usr/bin/ld: cannot find -lgd
collect2: error: ld returned 1 exit status
Makefile:1659: recipe for target 'ax203.la' failed
make[3]: *** [ax203.la] Error 1
make[3]: Leaving directory '/home/someuser/Downloads/aur/lib32-libgphoto2/src/build/camlibs'
Makefile:3347: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/someuser/Downloads/aur/lib32-libgphoto2/src/build/camlibs'
Makefile:622: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/someuser/Downloads/aur/lib32-libgphoto2/src/build'
Makefile:444: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
In that blob of text it says 'skipping incompatible' so it found something but I don't know to fix that or find out what it needs. A search on the internet I found that the message (in title) means I'm missing 32-bit library for gd, so I pulled that from AUR and installed it, but its still giving me this message.
Any ideas what I need to do to get this to build?
Thanks in advance.
Last edited by mouseman (2014-05-05 05:24:27)The linker tries to find libgd. so. If you build lib32-libgphoto2, I guess from the name that you are building a 32 bit package on a 64 bits installation. You should have the 32 bit version of libgd. so and you only have the 64 bit version (hence skipping incompatible /usr/lib/libgd.so). Note that I have not found this version in the multilib repository (nor on AUR), I think you will have to build it yourself.
Maybe you are looking for
-
BW Extraction Error_Article Hierarchy
Hi SAP friends, While performing the article hierarchy copy function activity, we got an error. BW extraction: Incorrect update of node Y-XXXX We used the tcode WMATGRP06N to perform the copy function activity.. This error is getting only for specifi
-
hi, I have a video attached, which has both data and video combined and overlaid. this was done in some other software. can any body help me do this in labview. i have seperate video and waveform data files. how to playback the data overlaid on vide
-
How to configure the intensity of my Time Capsule's WIFI signal?
Hey, I own a TC from late 2009, the Firmware is up-to-date (7.6.4) and I installed it in a new place. The intensity of the WIFI signal is suprinsingly low, significantly lower than the signal of any non-Apple WIFI-router I previously used in the same
-
Rate & Tax Code entry in Quotation
Dear All, In the Pricing Procedure, we have used Condition Types for Gross Price, Discount, Pkg & Forwarding, Manual Excise, Freight etc. We want to incorporate all the Condition Types while maintaining the Quotation. In Item-> Conditions tab, only G
-
When two finger scrolling in Safari, it resets itself to the top of the web page - not where I stopped.