Issue 317 in webp: gif2webp not working on solaris(5.10)

12 views
Skip to first unread message

kirthika… via monorail

unread,
Nov 22, 2016, 7:17:47 AM11/22/16
to webp-d...@webmproject.org
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 317 by kirthika...@gmail.com: gif2webp not working on solaris(5.10)
https://bugs.chromium.org/p/webp/issues/detail?id=317

I am using cwebp from libwebp-0.5.1-linux-x86-64 package on solaris to encode images(jpg, png) but when I tried executing gif2webp I get the following error:

gif2webp: Cannot find /lib64/ld-linux-x86-64.so.2
Killed

If you say that binaries built for linux(64bit) will not work for Solaris. Then why is cwebp working but not gif2webp?

Below is output of uname -a

SunOS xxxx 5.10 Generic_139556-08 i86pc i386 i86pc




--
You received this message because:
1. The project was configured to send all issue notifications to this address

You may adjust your notification preferences at:
https://bugs.chromium.org/hosting/settings

jz… via monorail

unread,
Nov 22, 2016, 10:38:44 PM11/22/16
to webp-d...@webmproject.org

Comment #1 on issue 317 by jz...@google.com: gif2webp not working on solaris(5.10)
https://bugs.chromium.org/p/webp/issues/detail?id=317#c1

Sounds like we just got lucky with cwebp. I don't have this setup to try and debug and it's not something we're officially supporting.

Can you get any more detail with ldd -v or try to run the loader directly? (/lib64/ld-linux-x86-64.so.2 gif2webp). Maybe an strace might give some insight too.

Does the 32-bit version behave the same?

kirthika… via monorail

unread,
Nov 23, 2016, 2:15:20 AM11/23/16
to webp-d...@webmproject.org

Comment #2 on issue 317 by kirthika...@gmail.com: gif2webp not working on solaris(5.10)
https://bugs.chromium.org/p/webp/issues/detail?id=317#c2

Thanks for your feedback.

I tried to grab the information you asked for and here is what I found:

1) ldd -v gif2webp says
ldd: gif2webp: elf_getehdr: Format error: shdr table truncated

2) I do not see loader /lib64/ld-linux-x86-64.so.2. Instead I tried to use /lib/64/ld.so.1 gif2webp and I get Segmentation fault.

3) Do not have rights to run strace as of now, I will get that to you as soon as I can

4) When I tried running 32-bit version of gif2webp I get
gif2webp: Cannot find /lib/ld-linux.so.2
Killed

pascal.m… via monorail

unread,
Nov 23, 2016, 2:51:25 AM11/23/16
to webp-d...@webmproject.org

Comment #3 on issue 317 by pascal.m...@gmail.com: gif2webp not working on solaris(5.10)
https://bugs.chromium.org/p/webp/issues/detail?id=317#c3

hi,

regarding problem 1):

> 1) ldd -v gif2webp says
> ldd: gif2webp: elf_getehdr: Format error: shdr table truncated

You might want to try to run "pkg verify -f"
Some packages might have been mis-installed (corrupt files, low disk space, etc?)

kirthika… via monorail

unread,
Nov 28, 2016, 8:03:40 AM11/28/16
to webp-d...@webmproject.org

Comment #4 on issue 317 by kirthika...@gmail.com: gif2webp not working on solaris(5.10)
https://bugs.chromium.org/p/webp/issues/detail?id=317#c4

Hi,

Looks like strace command is not supported in Solaris.

I was able to run truss command

truss -aef gif2webp

I am attaching the output for the same.

And I tried running "pkg verify -f" but got error pkg: command not found. Looks like command is not supported in Solaris?


Thanks in advance!


Attachments:
truss_output.txt 18.4 KB

jz… via monorail

unread,
Nov 28, 2016, 7:28:46 PM11/28/16
to webp-d...@webmproject.org

Comment #5 on issue 317 by jz...@google.com: gif2webp not working on solaris(5.10)
https://bugs.chromium.org/p/webp/issues/detail?id=317#c5

I don't see the loader issue in the truss output. It looks like gif2webp was or wa treated as a shell script unless I'm misreading.

23921: execve("/usr/bin/bash", 0x080461EC, 0x080461F8) argc = 2
23921: argv: sh ./gif2webp
...
23921: stat64("/usr/bin/sh", 0x08045EC0) = 0
23921: brk(0x08104000) = 0
23921: getpgrp() = 23920
23921: sigaction(SIGCLD, 0x08045FF0, 0x08046060) = 0
23921: open64("./gif2webp", O_RDONLY) = 3

pascal.m… via monorail

unread,
Jun 29, 2019, 3:48:23 AM6/29/19
to webp-d...@webmproject.org
Updates:
Status: WontFix

Comment #6 on issue 317 by pascal.m...@gmail.com: gif2webp not working on solaris(5.10)
https://bugs.chromium.org/p/webp/issues/detail?id=317#c6

closing this old bug due to inactivity. Please re-open with new information if necessary!
thx
Reply all
Reply to author
Forward
0 new messages