You are not logged in.

#1 2011-08-22 01:44:36

GSF1200S
Member
Registered: 2008-12-24
Posts: 397

ePDFview broken after update to gnutls

This has actually been the case for a little while, I just failed to realize it as I dont use a pdfviewer that often. I went to open epdfview, nothing happened, and so I launched it via terminal which spit out:

epdfview: error while loading shared libraries: libgnutls.so.26: cannot open shared object file: No such file or directory

I downgraded from gnutls 3.0.1-1 to 3.0.0-2, and it gave me the same message. After downgrading to 2.8.6-1, epdfview works fine. I went ahead and reinstalled 3.0.1-1 and tried to build epdfview via ABS, but it failed out mentioning libgnutls.so.26 during makepkg. I wanted to post here and see if Im missing something dumb before I file a bug report.. It seems to me that epdfview is the package at fault yes?

Any ideas?

Offline

#2 2011-08-22 01:45:36

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,327
Website

Re: ePDFview broken after update to gnutls

Is your system fully up-to-date?

Offline

#3 2011-08-22 02:00:56

GSF1200S
Member
Registered: 2008-12-24
Posts: 397

Re: ePDFview broken after update to gnutls

Yes- I just ran -Syu today about 15 minutes ago. I have the following packages in IgnorePkg:

 conky thunderbird wine cups-usblp (<--from AUR for printer) libcups linux linux-headers

I only have linux and linux-headers in there as I have a webcam bug (see https://bbs.archlinux.org/viewtopic.php … 1#p979111) and I dont want to automatically upgrade to the latest kernel. I am running the latest headers and kernel compiled via ABS (patched for the webcam). I dont think any of the other packages are relevant as libgnutls.so.26 is owned by gnutls according to:

[poeticrpm@geekdom ~]$ sudo pacman -Qo /usr/lib/libgnutls.so.26
Password: 
/usr/lib/libgnutls.so.26 is owned by gnutls 2.8.6-1

This of course was the same result when I had gnutls-3.0.1-1 installed. Any other info you need, just let me know..

Offline

#4 2011-08-22 02:06:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,422

Re: ePDFview broken after update to gnutls

Another user with a gnutls-related cups error: https://bbs.archlinux.org/viewtopic.php?pid=978665

[karol@black ~]$ pacman -Q gnutls
gnutls 3.0.0-2
[karol@black ~]$ pacman -Ql gnutls | grep /usr/lib
gnutls /usr/lib/
gnutls /usr/lib/libgnutls-extra.so
gnutls /usr/lib/libgnutls-extra.so.28
gnutls /usr/lib/libgnutls-extra.so.28.0.0
gnutls /usr/lib/libgnutls-openssl.so
gnutls /usr/lib/libgnutls-openssl.so.27
gnutls /usr/lib/libgnutls-openssl.so.27.0.0
gnutls /usr/lib/libgnutls.so
gnutls /usr/lib/libgnutls.so.28
gnutls /usr/lib/libgnutls.so.28.0.0
gnutls /usr/lib/libgnutlsxx.so
gnutls /usr/lib/libgnutlsxx.so.28
gnutls /usr/lib/libgnutlsxx.so.28.0.0
gnutls /usr/lib/pkgconfig/
gnutls /usr/lib/pkgconfig/gnutls-extra.pc
gnutls /usr/lib/pkgconfig/gnutls.pc

No libgnutls.so.26.

Offline

#5 2011-08-22 02:12:05

GSF1200S
Member
Registered: 2008-12-24
Posts: 397

Re: ePDFview broken after update to gnutls

karol wrote:

Another user with a gnutls-related cups error: https://bbs.archlinux.org/viewtopic.php?pid=978665

[karol@black ~]$ pacman -Q gnutls
gnutls 3.0.0-2
[karol@black ~]$ pacman -Ql gnutls | grep /usr/lib
gnutls /usr/lib/
gnutls /usr/lib/libgnutls-extra.so
gnutls /usr/lib/libgnutls-extra.so.28
gnutls /usr/lib/libgnutls-extra.so.28.0.0
gnutls /usr/lib/libgnutls-openssl.so
gnutls /usr/lib/libgnutls-openssl.so.27
gnutls /usr/lib/libgnutls-openssl.so.27.0.0
gnutls /usr/lib/libgnutls.so
gnutls /usr/lib/libgnutls.so.28
gnutls /usr/lib/libgnutls.so.28.0.0
gnutls /usr/lib/libgnutlsxx.so
gnutls /usr/lib/libgnutlsxx.so.28
gnutls /usr/lib/libgnutlsxx.so.28.0.0
gnutls /usr/lib/pkgconfig/
gnutls /usr/lib/pkgconfig/gnutls-extra.pc
gnutls /usr/lib/pkgconfig/gnutls.pc

No libgnutls.so.26.

Ahh.. and gnutls-3.0.1-1 just came out today (on my mirror), so if you update your version will be bumped. I didnt try printing as I saw no upgrades to cups (I have them ignored anyways until I have time to downgrade or troubleshoot), but I can do that (or start the cups daemon as shown in that thread you linked) if its necessary for a bug report. To be clear, everything works fine (printing, epdfview, ostensibly everything else) on gnutls-2.8.6-1..

Offline

#6 2011-08-22 02:23:00

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,327
Website

Re: ePDFview broken after update to gnutls

I am fairly sure that there are no packages in our repos still linking to libgnutls.so.26...   so either you are not fully up-to-date, or your mirror is out-of-date.  Check the mirror status page and try another mirror.

Offline

#7 2011-08-22 02:58:30

GSF1200S
Member
Registered: 2008-12-24
Posts: 397

Re: ePDFview broken after update to gnutls

My mirror was up to date- turns out its libcups (one of the ones in my IgnorePkg line). However, libcups only installs:

/usr/
/usr/bin/
/usr/bin/cups-config
/usr/include/
/usr/include/cups/
/usr/include/cups/adminutil.h
/usr/include/cups/array.h
/usr/include/cups/backend.h
/usr/include/cups/cgi.h
/usr/include/cups/cups.h
/usr/include/cups/dir.h
/usr/include/cups/driver.h
/usr/include/cups/file.h
/usr/include/cups/help-index.h
/usr/include/cups/http.h
/usr/include/cups/image.h
/usr/include/cups/ipp.h
/usr/include/cups/language.h
/usr/include/cups/mime.h
/usr/include/cups/ppd.h
/usr/include/cups/ppdc.h
/usr/include/cups/raster.h
/usr/include/cups/sidechannel.h
/usr/include/cups/transcode.h
/usr/include/cups/versioning.h
/usr/lib/
/usr/lib/libcups.so
/usr/lib/libcups.so.2
/usr/lib/libcupscgi.so
/usr/lib/libcupscgi.so.1
/usr/lib/libcupsdriver.so
/usr/lib/libcupsdriver.so.1
/usr/lib/libcupsimage.so
/usr/lib/libcupsimage.so.2
/usr/lib/libcupsmime.so
/usr/lib/libcupsmime.so.1
/usr/lib/libcupsppdc.so
/usr/lib/libcupsppdc.so.1

which does NOT include libgnutls.so.26 (which is also not found in /usr/lib). Regardless, epdfview works (printing now does not, so ill have to work on that..). Sorry for the resistance wink

Last edited by GSF1200S (2011-08-22 02:58:59)

Offline

#8 2011-08-22 03:05:58

GSF1200S
Member
Registered: 2008-12-24
Posts: 397

Re: ePDFview broken after update to gnutls

After upgrading libcups, I now have the same issue as Karol linked me to:

[poeticrpm@geekdom ~]$ sudo rc.d restart cups
:: Stopping cupsd daemon                                                 [FAIL] 
:: Starting cupsd daemon                                                 [BUSY] cupsd: error while loading shared libraries: libgnutls.so.26: cannot open shared object file: No such file or directory

This is also resolved by downgrading to gnutls-2.8.6-1..
The only other things to update are thunderbird and conky, and I dont really see what those have to do with cups/printing/epdfview wink

Am I missing something else? I guess if I dont hear anything else Ill mark this as solved with a final post, and ill move over to the thread Karol linked..

Last edited by GSF1200S (2011-08-22 03:06:16)

Offline

#9 2011-08-22 03:20:09

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,327
Website

Re: ePDFview broken after update to gnutls

cupsd is part of the "cups" package, not libcups.   Do a full system upgrade not partial crap:

> readelf -d /usr/sbin/cupsd

Dynamic section at offset 0x63700 contains 31 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libcupsmime.so.1]
 0x00000001 (NEEDED)                     Shared library: [libgnutls.so.28]

and epdfview links to libgnutls via libcups so that was causing that issue.

Offline

#10 2011-08-22 03:27:49

GSF1200S
Member
Registered: 2008-12-24
Posts: 397

Re: ePDFview broken after update to gnutls

Allan wrote:

cupsd is part of the "cups" package, not libcups.   Do a full system upgrade not partial crap:

> readelf -d /usr/sbin/cupsd

Dynamic section at offset 0x63700 contains 31 entries:
  Tag        Type                         Name/Value
 0x00000001 (NEEDED)                     Shared library: [libcupsmime.so.1]
 0x00000001 (NEEDED)                     Shared library: [libgnutls.so.28]

and epdfview links to libgnutls via libcups so that was causing that issue.

Well, I certainly didnt realize that: apologies. I only hold back a package when it will cause me undo grief and constantly watch for the bugs in those packages to be fixed (upstream, not Arch) so I can update to up-to-date. The latest version of wine breaks an app I use, the latest thunderbird breaks extensions I use, and the latest conky completely messes up my conky layout due to a bug which is verified. Otherwise, I run -Syu once a day, and watch all my packages closely.. Thank you for your help.

Offline

#11 2011-08-25 06:53:28

palmfron
Member
Registered: 2010-10-15
Posts: 1

Re: ePDFview broken after update to gnutls

I get the same error while loading shared libraries using msmtp in mutt.  Also downgraded to 2.8.6-1 which fixed the issue for now.  My system is up to date.

Offline

#12 2011-08-27 12:53:50

MW
Member
Registered: 2007-07-27
Posts: 127

Re: ePDFview broken after update to gnutls

Had the same problem. I had to force cups to reinstall to solve this, there were a lot of errors:

pacman -S cups
......
<snip>
cups: /usr/share/man/man5/printers.conf.5.gz exists in filesystem
cups: /usr/share/man/man5/subscriptions.conf.5.gz exists in filesystem
cups: /usr/share/man/man7/backend.7.gz exists in filesystem
cups: /usr/share/man/man7/filter.7.gz exists in filesystem
cups: /usr/share/man/man7/notifier.7.gz exists in filesystem
cups: /usr/share/man/man8/accept.8.gz exists in filesystem
cups: /usr/share/man/man8/cups-deviced.8.gz exists in filesystem
cups: /usr/share/man/man8/cups-driverd.8.gz exists in filesystem
cups: /usr/share/man/man8/cups-lpd.8.gz exists in filesystem
cups: /usr/share/man/man8/cups-polld.8.gz exists in filesystem
cups: /usr/share/man/man8/cupsaccept.8.gz exists in filesystem
cups: /usr/share/man/man8/cupsaddsmb.8.gz exists in filesystem
cups: /usr/share/man/man8/cupsctl.8.gz exists in filesystem
cups: /usr/share/man/man8/cupsd.8.gz exists in filesystem
cups: /usr/share/man/man8/cupsdisable.8.gz exists in filesystem
cups: /usr/share/man/man8/cupsenable.8.gz exists in filesystem
cups: /usr/share/man/man8/cupsfilter.8.gz exists in filesystem
cups: /usr/share/man/man8/cupsreject.8.gz exists in filesystem
cups: /usr/share/man/man8/lpadmin.8.gz exists in filesystem
cups: /usr/share/man/man8/lpc.8.gz exists in filesystem
cups: /usr/share/man/man8/lpinfo.8.gz exists in filesystem
cups: /usr/share/man/man8/lpmove.8.gz exists in filesystem
cups: /usr/share/man/man8/reject.8.gz exists in filesystem
Errors occurred, no packages were upgraded.

Pacman reported cups was not installed, even though I know it is, so the only option left was to force the install, now everything is working again.

Last edited by MW (2011-08-27 12:54:40)

Offline

#13 2011-08-27 17:54:52

nobus
Member
From: Russia
Registered: 2010-01-11
Posts: 11

Re: ePDFview broken after update to gnutls

I also have had the problem with gnutls 3.0.1-1 (when i tried to execute such appliction as Agave). The simplest way to solve that is to create such a symlink:

sudo ln -s /usr/lib/libgnutls.so.28 /usr/lib/libgnutls.so.26

Offline

#14 2011-08-27 22:34:03

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,327
Website

Re: ePDFview broken after update to gnutls

nobus wrote:

The stupidest way to solve that is to create such a symlink:

There... fixed that for you...

Offline

#15 2011-08-28 06:16:42

nobus
Member
From: Russia
Registered: 2010-01-11
Posts: 11

Re: ePDFview broken after update to gnutls

Allan wrote:
nobus wrote:

The stupidest way to solve that is to create such a symlink:

There... fixed that for you...

Of course, it's only a temporary solution. That is NOT a user's problem (user may be a stupid or may be not) but developer's.

Last edited by nobus (2011-08-28 06:50:21)

Offline

Board footer

Powered by FluxBB