You are not logged in.

#1 2008-07-09 00:07:02

z13l5ch31b3
Member
Registered: 2008-07-08
Posts: 17

symbolic link error

Hi community,...

i thought my problem was to install the firewall, but its a problem on any application i want to install or uninstall.

Following is written in the console,... f.e. gdesklets:

pacman -Sy gdesklets
:: Synchronisiere Paketdatenbanken...
 core ist aktuell
 extra ist aktuell
 community ist aktuell
Löse Abhängigkeiten auf...
Suche nach Zwischen-Konflikten...

Pakete: gdesklets-0.36.0-1  

Gesamtgröße der heruntergeladenen Pakete: 3,00 MB
Gesamtgröße der installierten Pakete: 5,84 MB

Installation fortsetzen? [J/n] j
:: Empfange Pakete von extra...
 gdesklets-0.36.0-1-...     3,0M  237,6K/s 00:00:13 [#####################] 100%
Prüfe Paketintegrität...
(1/1) Prüfe auf Dateikonflikte                      [#####################] 100%
(1/1) Installiere gdesklets                         [#####################] 100%
/sbin/ldconfig: /opt/lib32/lib/libe2p.so.2 ist kein symbolischer Link
/sbin/ldconfig: /opt/lib32/lib/libcom_err.so.2 ist kein symbolischer Link
/sbin/ldconfig: /opt/lib32/lib/libext2fs.so.2 ist kein symbolischer Link
/sbin/ldconfig: /opt/lib32/lib/libblkid.so.1 ist kein symbolischer Link
/sbin/ldconfig: /opt/lib32/lib/libuuid.so.1 ist kein symbolischer Link
/sbin/ldconfig: /opt/lib32/lib/libss.so.2 ist kein symbolischer Link

[root@t4rg3t ~]# pacman -R gdesklets
Lade Paketdaten...
Prüfe Abhängigkeiten...
(1/1) Entferne gdesklets                            [#####################] 100%
/sbin/ldconfig: /opt/lib32/lib/libe2p.so.2 ist kein symbolischer Link
/sbin/ldconfig: /opt/lib32/lib/libcom_err.so.2 ist kein symbolischer Link
/sbin/ldconfig: /opt/lib32/lib/libext2fs.so.2 ist kein symbolischer Link
/sbin/ldconfig: /opt/lib32/lib/libblkid.so.1 ist kein symbolischer Link
/sbin/ldconfig: /opt/lib32/lib/libuuid.so.1 ist kein symbolischer Link
/sbin/ldconfig: /opt/lib32/lib/libss.so.2 ist kein symbolischer Link

Before i got (and it's still a problem) this message while installing "wine" and some dependencies... whats wrong ?

(and maybe you can take a look on the german forum where i posted the wine-problem: http://forum.archlinux.de/?page=Posting … hread=9172 )


Thanks a lot !

Offline

#2 2008-07-09 00:12:29

czar
Member
Registered: 2008-03-08
Posts: 115

Re: symbolic link error

whats that error in english?

Offline

#3 2008-07-09 00:16:56

z13l5ch31b3
Member
Registered: 2008-07-08
Posts: 17

Re: symbolic link error

I think it's like "~ isn't a symbolic link"

Offline

#4 2008-07-09 02:54:51

kalpik
Member
From: India
Registered: 2007-05-08
Posts: 163
Website

Re: symbolic link error

Im getting the same!

[kalpik@arch ~]$ sudo ldconfig
ldconfig: /opt/lib32/lib/libss.so.2 is not a symbolic link

ldconfig: /opt/lib32/lib/libcom_err.so.2 is not a symbolic link

ldconfig: /opt/lib32/lib/libe2p.so.2 is not a symbolic link

ldconfig: /opt/lib32/lib/libext2fs.so.2 is not a symbolic link

ldconfig: /opt/lib32/lib/libblkid.so.1 is not a symbolic link

ldconfig: /opt/lib32/lib/libuuid.so.1 is not a symbolic link

Offline

#5 2008-07-09 04:20:31

z13l5ch31b3
Member
Registered: 2008-07-08
Posts: 17

Re: symbolic link error

I searched the web for instructions,... but the only helpfull MAN i ve found is this one: http://www.gsp.com/cgi-bin/man.cgi?sect … ic=symlink

Can't see the wood of so many trees, help pls

Offline

#6 2008-07-09 04:38:04

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,485
Website

Re: symbolic link error

They all belong to lib32-e2fsprogs, right?  It appears that something is screwy in that package...

Offline

#7 2008-07-09 05:00:59

z13l5ch31b3
Member
Registered: 2008-07-08
Posts: 17

Re: symbolic link error

mhhhhhh, i ve tried to install nspluginwrapper for the flashplugin .... doesnt work so i went to the next problem on a new fresh system,....

back to the roots, i ve tried to -R emove it in pacman or -S ync it ... doesnt seem to work

[root@t4rg3t ~]# pacman -R lib32-e2fsprogs
Lade Paketdaten...
Prüfe Abhängigkeiten...
Fehler: Konnte Vorgang (Kann Abhängigkeiten nicht erfüllen) nicht vorbereiten
:: lib32-libsm: benötigt lib32-e2fsprogs
[root@t4rg3t ~]# pacman -Sy lib32-e2fsprogs
:: Synchronisiere Paketdatenbanken...
 core ist aktuell
 extra ist aktuell
 community ist aktuell
Warnung: lib32-e2fsprogs-1.40.8-1 ist aktuell -- Überspringe
Löse Abhängigkeiten auf...
Suche nach Zwischen-Konflikten...

Pakete: lib32-e2fsprogs-1.40.8-1  

Gesamtgröße der heruntergeladenen Pakete: 0,00 MB
Gesamtgröße der installierten Pakete: 0,55 MB

Installation fortsetzen? [J/n] j
Prüfe Paketintegrität...
(1/1) Prüfe auf Dateikonflikte                      [#####################] 100%
(1/1) Aktualisiere lib32-e2fsprogs                  [#####################] 100%
/sbin/ldconfig: /opt/lib32/lib/libe2p.so.2 ist kein symbolischer Link

/sbin/ldconfig: /opt/lib32/lib/libcom_err.so.2 ist kein symbolischer Link

/sbin/ldconfig: /opt/lib32/lib/libext2fs.so.2 ist kein symbolischer Link

/sbin/ldconfig: /opt/lib32/lib/libblkid.so.1 ist kein symbolischer Link

/sbin/ldconfig: /opt/lib32/lib/libuuid.so.1 ist kein symbolischer Link

/sbin/ldconfig: /opt/lib32/lib/libss.so.2 ist kein symbolischer Link

[root@t4rg3t ~]#

Offline

#8 2008-07-09 09:14:05

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: symbolic link error

I was having the same problem. I looked at the lib32-e2fsprogs pkgbuild in aur and the last line, under build, looked a little fishy to me...

build() {
  mkdir -p $startdir/pkg/opt/lib32/lib/
  cp -rPf $startdir/src/lib $startdir/pkg/opt/lib32/
}

I changed the copy command from "cp -rPf" to "cp -R"  because I didn't think --force and --preserv was really needed.

--recursive should be sufficient?

build() {
  mkdir -p $startdir/pkg/opt/lib32/lib/
  cp -R $startdir/src/lib $startdir/pkg/opt/lib32/
}

Anyway, after rebuilding and updating, I no longer get the symbolic link messages.


-- archlinux 是一个极好的 linux

Offline

#9 2008-07-09 10:19:24

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: symbolic link error

@z13l5ch31b3: could you do a LC_ALL="C" before running the commands you're posting here? The output will be in English then.

Offline

#10 2008-07-09 12:11:04

ProfessorTomoe
Member
From: Garland, TX
Registered: 2008-02-12
Posts: 61

Re: symbolic link error

Leigh wrote:

I changed the copy command from "cp -rPf" to "cp -R"  because I didn't think --force and --preserv was really needed.

--recursive should be sufficient?

build() {
  mkdir -p $startdir/pkg/opt/lib32/lib/
  cp -R $startdir/src/lib $startdir/pkg/opt/lib32/
}

Anyway, after rebuilding and updating, I no longer get the symbolic link messages.

I started getting the same error messages this morning.  They'd pop up after a pacman run.  A rebuild as indicated above seems to have fixed the problem for me (thank you!).

Offline

#11 2008-07-09 13:22:33

vuboy
Member
From: Canada
Registered: 2008-03-04
Posts: 78

Re: symbolic link error

mmm, the PKGBUILD in ABS for e2fsprogs is quite different, it also includes a patch.
Will using the AUR PKGBUILD result in no patch?

build() {
  cd ${startdir}/src/${pkgname}-${pkgver}
  # Remove unnecessary init.d directory
  sed -i '/init\.d/s|^|#|' misc/Makefile.in
  ./configure --prefix=/usr --with-root-prefix="" --enable-elf-shlibs
  # add fsck.static for mkinitrd use
  patch -Np1 -i ../Makefile-fsck.static.patch || return 1
  make || return 1
  make DESTDIR=${startdir}/pkg install install-libs
  make -C ${startdir}/src/${pkgname}-${pkgver}/misc fsck.static || return 1
  install -D -m755 ${startdir}/src/${pkgname}-${pkgver}/misc/fsck.static  ${startdir}/pkg/sbin/fsck.static
  sed -i -e 's/^AWK=.*/AWK=awk/' ${startdir}/pkg/usr/bin/compile_et || return 1
  install -m644 ${startdir}/src/mke2fs.conf ${startdir}/pkg/etc/ || return 1
}

Offline

#12 2008-07-09 19:32:32

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: symbolic link error

Got this as well.  The PKGBUILD for lib32-e2fsprogs in ABS (but not the older version still available from the AUR page) uses the install command to copy the libs from the 32 bit package.  The consequence is that the symbolic links get dereferenced and ldconfig gives the errors we all got.  Just to be different, I used:

cp -dp $startdir/src/lib/* $startdir/pkg/opt/lib32/lib/

when I rebuilt lib32-e2fsprogs here.

Last edited by azleifel (2008-07-09 19:50:44)

Offline

#13 2008-07-09 21:21:29

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: symbolic link error

I was mistaken with the -P switch. It not the same as "--preserve" but rather "--no-dereference". Meaning to copy symbolic links as symbolic links rather than copying the files that they point to.

Actually I think the initial problem was using -f. I wanted to understand better, so I did a little reading and found this intersting...

http://www.phpman.info/index.php/info/cp

Especially the info about using "-f" and "-P" making me wonder if the -f was overriding, or canceling out, -P in the aur pkgbuild.

I think the cp command with "-R' and "-P" together would have been best next to azleifel solution of using "cp -dp"

According to the info on the page above, using only "cp -R", even though it works in this case, seems unadvisable.


-- archlinux 是一个极好的 linux

Offline

#14 2008-07-10 02:05:39

kalpik
Member
From: India
Registered: 2007-05-08
Posts: 163
Website

Re: symbolic link error

So? What's the final solution?

Offline

#15 2008-07-10 02:13:16

heleos
Member
From: Maine, USA
Registered: 2007-04-24
Posts: 678

Re: symbolic link error

azleifel wrote:

Got this as well.  The PKGBUILD for lib32-e2fsprogs in ABS (but not the older version still available from the AUR page) uses the install command to copy the libs from the 32 bit package.  The consequence is that the symbolic links get dereferenced and ldconfig gives the errors we all got.  Just to be different, I used:

cp -dp $startdir/src/lib/* $startdir/pkg/opt/lib32/lib/

when I rebuilt lib32-e2fsprogs here.

I used this option

Offline

#16 2008-07-10 07:25:07

kalpik
Member
From: India
Registered: 2007-05-08
Posts: 163
Website

Re: symbolic link error

Thanks.. Works for me too smile

Offline

#17 2008-07-10 13:22:44

ProfessorTomoe
Member
From: Garland, TX
Registered: 2008-02-12
Posts: 61

Re: symbolic link error

azleifel wrote:

Got this as well.  The PKGBUILD for lib32-e2fsprogs in ABS (but not the older version still available from the AUR page) uses the install command to copy the libs from the 32 bit package.  The consequence is that the symbolic links get dereferenced and ldconfig gives the errors we all got.  Just to be different, I used:

cp -dp $startdir/src/lib/* $startdir/pkg/opt/lib32/lib/

when I rebuilt lib32-e2fsprogs here.

Would you mind making a patch out of this and/or reporting it as a bug?  'Twould help immensely. wink

Offline

#18 2008-07-10 13:32:12

tigrmesh
IRC Op
From: Florida, US
Registered: 2007-12-11
Posts: 794

Re: symbolic link error

ProfessorTomoe wrote:
azleifel wrote:

Got this as well.  The PKGBUILD for lib32-e2fsprogs in ABS (but not the older version still available from the AUR page) uses the install command to copy the libs from the 32 bit package.  The consequence is that the symbolic links get dereferenced and ldconfig gives the errors we all got.  Just to be different, I used:

cp -dp $startdir/src/lib/* $startdir/pkg/opt/lib32/lib/

when I rebuilt lib32-e2fsprogs here.

Would you mind making a patch out of this and/or reporting it as a bug?  'Twould help immensely. wink

Yes.  Do report this as a bug.  There is some discussion of encouraging people to always use install instead of copy;  this problem shows that install is not always the best option.

Offline

#19 2008-07-10 13:36:12

will1911a1
Member
Registered: 2008-04-20
Posts: 59

Re: symbolic link error

Leigh wrote:

build() {
  mkdir -p $startdir/pkg/opt/lib32/lib/
  cp -R $startdir/src/lib $startdir/pkg/opt/lib32/
}

Anyway, after rebuilding and updating, I no longer get the symbolic link messages.

Gave this a shot, thanks!

Offline

#20 2008-07-10 14:15:35

vuboy
Member
From: Canada
Registered: 2008-03-04
Posts: 78

Re: symbolic link error

Is there any need for 2 PKGBUILD scripts?
The fix discussed here is for the AUR PKGBUILD, what about the ABS PKGBUILD?
I rebuilt using AUR and all is well, thanks to this thread.

VB

Offline

#21 2008-07-10 19:40:28

azleifel
Member
Registered: 2007-10-28
Posts: 486

Re: symbolic link error

Made a bug report for the [community] package: http://bugs.archlinux.org/task/10883

Offline

#22 2008-07-10 20:20:25

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: symbolic link error

Thanks azleifel


-- archlinux 是一个极好的 linux

Offline

#23 2008-07-10 21:43:54

o.besner
Member
From: Quebec, Canada
Registered: 2008-05-26
Posts: 8

Re: symbolic link error

Hi... I have the same problem, and it seems you found a solution.

However, I have no idea how to modify the PKGBUILD for lib32-e2fsprogs, since the message "edit PKGBUILD with : " does not pop out when I install the package. the installation is automatic. How can I access it ?

Using arch x86_64, by the way. Thanks.

Offline

#24 2008-07-11 00:02:18

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: symbolic link error

First I would read the wiki info about abs...
http://wiki.archlinux.org/index.php/ABS … l_Packages

It will give you a good understanding about the abs tree and building packages.

Basically you just install abs
pacman -Sy abs

Then you want to install fakeroot so you can build as normal user.
pacman -S fakeroot

Then you creat a directory somewhere that is designated for building packages. A lot of people like to use /var/abs/local but I prefer to do everything in /home, creating /home/username/build and I just make subdirs for every package I build and put the PKGBUILD and associated file in that dir. Then just open a termal and cd to the dir with the PKGBUILD file and run makepkg and watch as it builds.  If all goes well you'll end up with a package you can then install with pacman -U

Anyway, it's all in the wiki. Thats just a gerneral discription.


-- archlinux 是一个极好的 linux

Offline

#25 2008-07-12 01:01:57

hunterthomson
Member
Registered: 2008-06-22
Posts: 794
Website

Re: symbolic link error

Thank You evryone big_smile
Were giving the Ubuntu Forums a run for there money tongue

I was gettiing the same error. So, I edited the PKGBUILD file in "nano wink "

I changed the cd line to:

cd -R -P ((the rest of the line here))

I am running x86-64 archlinux. I just did a pacman -Syu and installed the new vertion of nmap... With no error smile

Last edited by hunterthomson (2008-07-12 01:05:20)


OpenBSD-current Thinkpad X230, i7-3520M, 16GB CL9 Kingston, Samsung 830 256GB
Contributor: linux-grsec

Offline

Board footer

Powered by FluxBB