Please login or register. August 20, 2017, 09:39:27 AM

Author Topic: Firefox not starting on AIX  (Read 6997 times)

0 Members and 1 Guest are viewing this topic.

pravin.katkade

  • New Member
  • *
  • Posts: 4
  • Karma: +0/-0
Firefox not starting on AIX
« on: March 10, 2014, 10:58:10 AM »
hi,
I installed Firefox 3.6 with all prerequisit RPMs on AIX 6100-07-04-1216. When I am trying to start Firefox I am getting below error:

#firefox
exec(): 0509-036 Cannot load program /usr/mozilla/firefox/firefox-bin because of the following errors:
        0509-130 Symbol resolution failed for /usr/lib/libcairo.a[libcairo.so.2] because:
        0509-136   Symbol png_set_expand_gray_1_2_4_to_8 (number 223) is not exported from
                   dependent module /usr/lib/libpng12.a[libpng12.so.0].
        0509-026 System error: Error 0
        0509-192 Examine .loader section symbols with the
                 'dump -Tv' command.



Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1041
  • Karma: +0/-0
Re: Firefox not starting on AIX
« Reply #1 on: March 17, 2014, 09:12:19 AM »
back from vacation.
Let me think a bit on how to better debug what is wrong.

However, do please try dump -H for /usr/mozilla/firefox/firefox-bin

and check if there are multiple cairo libraries installed.

The solution will not be simple I fear. "firefox" is not something I have ever wanted to compile for myself, and I am wondering whether firefox 3.X on any platform is anywhere near current.

As a curiosity - what is the date of /usr/mozilla/firefox/firefox-bin?

pravin.katkade

  • New Member
  • *
  • Posts: 4
  • Karma: +0/-0
Re: Firefox not starting on AIX
« Reply #2 on: March 21, 2014, 08:58:34 AM »
Hi Michael,

I tried dump -H on firefox-bin. I am getting below error:

#dump -H /usr/mozilla/firefox/firefox-bin

/usr/mozilla/firefox/firefox-bin:
dump: /usr/mozilla/firefox/firefox-bin: 0654-108 file is not valid in the current object file mode.
        Use the -X option to specify the desired object mode.

Date of /usr/mozilla/firefox/firefox-bin:
#ls -l /usr/mozilla/firefox/firefox-bin
-r-xr-xr-x    1 bin      bin           19356 Jan 16 2013  /usr/mozilla/firefox/firefox-bin

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1041
  • Karma: +0/-0
Re: Firefox not starting on AIX
« Reply #3 on: March 24, 2014, 01:04:06 PM »
That is a bit surprising. I have never needed it (the -X option) myself, but I am usually working - with self-compiled applications, in 32-bit mode.

Try adding either -X any, or switching between -X64 and -X 32 to see if the message changes, goes away, or comes back again.

I have downloaded the files, but have not had time to try an install myself.
« Last Edit: March 25, 2014, 10:48:58 AM by Michael »

pravin.katkade

  • New Member
  • *
  • Posts: 4
  • Karma: +0/-0
Re: Firefox not starting on AIX
« Reply #4 on: April 03, 2014, 06:31:08 AM »
Hi Michael,

Please find below output of dump

#dump -TX64 /usr/mozilla/firefox/firefox-bin

/usr/mozilla/firefox/firefox-bin:

                        ***Loader Section***

                        ***Loader Symbol Table Information***
[Index]      Value      Scn     IMEX Sclass   Type           IMPid Name

[0]     0x110000ba0   0x0002     0x00   0x05    0x1          0x0000 __rtinit
[1]     0x00000000   0x0000     0x08   0x0a    0x0          0x0008 __CleanupCatch
[2]     0x00000000   0x0000     0x08   0x0a    0x0          0x0008 __run_final_dtors
[3]     0x00000000   0x0000     0x08   0x0a    0x0          0x0008 __run_initial_ctors
[4]     0x00000000   0x0000     0x08   0x0a    0x0          0x0008 __setUncaughtExceptionFlag__3stdFb
[5]     0x00000000   0x0000     0x08   0x05    0x0          0x000a errno
[6]     0x00000000   0x0000     0x08   0x05    0x0          0x000a _iob
[7]     0x00000000   0x0000     0x08   0x0a    0x0          0x000a __mod_init
[8]     0x00000000   0x0000     0x08   0x0a    0x0          0x000a malloc
[9]     0x00000000   0x0000     0x08   0x0a    0x0          0x000a getenv
[10]    0x00000000   0x0000     0x08   0x0a    0x0          0x000a exit
[11]    0x00000000   0x0000     0x08   0x0a    0x0          0x000a atexit
[12]    0x00000000   0x0000     0x08   0x0a    0x0          0x000a fprintf
[13]    0x00000000   0x0000     0x08   0x0a    0x0          0x000a fflush
[14]    0x00000000   0x0000     0x08   0x0a    0x0          0x000a vfprintf
[15]    0x00000000   0x0000     0x08   0x09    0x0          0x000a __malloc_user_defined_name
[16]    0x00000000   0x0000     0x08   0x09    0x0          0x000a __crt0v
[17]    0x00000000   0x0000     0x09   0x01    0x0          0x0002 kIID__Q2_11nsISupports11COMTypeInfoXTi_
[18]    0x00000000   0x0000     0x09   0x01    0x0          0x0002 kIID__Q2_19nsISimpleEnumerator11COMType InfoXTi_
[19]    0x00000000   0x0000     0x09   0x01    0x0          0x0002 kIID__Q2_23nsIUTF8StringEnumerator11COM TypeInfoXTi_
[20]    0x00000000   0x0000     0x09   0x01    0x0          0x0002 kIID__Q2_19nsIStringEnumerator11COMType InfoXTi_
[21]    0x00000000   0x0000     0x08   0x05    0x0          0x0002 kInstance__19EmptyEnumeratorImpl
[22]    0x00000000   0x0000     0x09   0x05    0x0          0x0002 __vft19EmptyEnumeratorImpl19nsIStringEn umerator11nsISupports
[23]    0x00000000   0x0000     0x09   0x05    0x0          0x0002 __vft19EmptyEnumeratorImpl23nsIUTF8Stri ngEnumerator11nsISupports
[24]    0x00000000   0x0000     0x09   0x05    0x0          0x0002 __vft19EmptyEnumeratorImpl19nsISimpleEn umerator11nsISupports
[25]    0x00000000   0x0000     0x09   0x05    0x0          0x0002 __vft21nsSingletonEnumerator11nsISuppor ts
[26]    0x00000000   0x0000     0x09   0x05    0x0          0x0002 __vft17nsUnionEnumerator11nsISupports
[27]    0x00000000   0x0000     0x08   0x05    0x0          0x0002 kNone__Q2_7mozilla9CallStack
[28]    0x00000000   0x0000     0x09   0x0a    0x0          0x0002 __dftbdt__13nsCOMPtr_baseFv
[29]    0x00000000   0x0000     0x09   0x0a    0x0          0x0002 __dftdt__8nsCOMPtrXT19nsISimpleEnumerat or_Fv
[30]    0x00000000   0x0000     0x09   0x0a    0x0          0x0002 QueryInterface__19EmptyEnumeratorImplF_ _t16_RC4nsIDPPv
[31]    0x00000000   0x0000     0x09   0x0a    0x0          0x0002 AddRef__19EmptyEnumeratorImplF__t16_v
[32]    0x00000000   0x0000     0x09   0x0a    0x0          0x0002 Release__19EmptyEnumeratorImplF__t16_v
[33]    0x00000000   0x0000     0x09   0x0a    0x0          0x0002 HasMore__19EmptyEnumeratorImplF__t16_Pi
[34]    0x00000000   0x0000     0x09   0x0a    0x0          0x0002 QueryInterface__19EmptyEnumeratorImplF_ _t8_RC4nsIDPPv
[35]    0x00000000   0x0000     0x09   0x0a    0x0          0x0002 AddRef__19EmptyEnumeratorImplF__t8_v
[36]    0x00000000   0x0000     0x09   0x0a    0x0          0x0002 Release__19EmptyEnumeratorImplF__t8_v
[37]    0x00000000   0x0000     0x09   0x0a    0x0          0x0002 HasMore__19EmptyEnumeratorImplF__t8_Pi
[38]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 QueryInterface__19EmptyEnumeratorImplFR C4nsIDPPv
[39]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 AddRef__19EmptyEnumeratorImplFv
[40]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 Release__19EmptyEnumeratorImplFv
[41]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 HasMoreElements__19EmptyEnumeratorImplF Pi
[42]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 GetNext__19EmptyEnumeratorImplFPP11nsIS upports
[43]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 QueryInterface__21nsSingletonEnumerator FRC4nsIDPPv
[44]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 AddRef__21nsSingletonEnumeratorFv
[45]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 Release__21nsSingletonEnumeratorFv
[46]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 HasMoreElements__21nsSingletonEnumerato rFPi
[47]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 GetNext__21nsSingletonEnumeratorFPP11ns ISupports
[48]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 QueryInterface__17nsUnionEnumeratorFRC4 nsIDPPv
[49]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 AddRef__17nsUnionEnumeratorFv
[50]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 Release__17nsUnionEnumeratorFv
[51]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 HasMoreElements__17nsUnionEnumeratorFPi
[52]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 GetNext__17nsUnionEnumeratorFPP11nsISup ports
[53]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 __dt__13nsCOMPtr_baseFv
[54]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 NS_TableDrivenQI__FPvPC12QITableEntryRC 4nsIDPPv
[55]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 XRE_GetBinaryPath
[56]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 XRE_main
[57]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 XRE_CreateAppData
[58]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 XRE_FreeAppData
[59]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 XRE_GetFileFromPath
[60]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 begin_assignment__13nsCOMPtr_baseFv
[61]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 HasMore__19EmptyEnumeratorImplFPi
[62]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 NS_NewEmptyEnumerator__FPP19nsISimpleEn umerator
[63]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 __ct__21nsSingletonEnumeratorFP11nsISup ports
[64]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 __dt__21nsSingletonEnumeratorFv
[65]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 NS_NewSingletonEnumerator__FPP19nsISimp leEnumeratorP11nsISupports
[66]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 __ct__17nsUnionEnumeratorFP19nsISimpleE numeratorT1
[67]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 __dt__17nsUnionEnumeratorFv
[68]    0x00000000   0x0000     0x08   0x0a    0x0          0x0002 NS_NewUnionEnumerator__FPP19nsISimpleEn umeratorP19nsISimpleEnumeratorT2
[69]    0x00000000   0x0000     0x08   0x0a    0x0          0x0009 __dl__FPv
[70]    0x00000000   0x0000     0x08   0x0a    0x0          0x0009 __nw__FUl
[71]    0x00000000   0x0000     0x08   0x05    0x0          0x0001 __n_pthreads
[72]    0x00000000   0x0000     0x08   0x05    0x0          0x0001 __pthread_trace
[73]    0x00000000   0x0000     0x08   0x0a    0x0          0x0001 __pth_init
[74]    0x00000000   0x0000     0x08   0x0a    0x0          0x0004 NS_LogInit
[75]    0x00000000   0x0000     0x08   0x0a    0x0          0x0004 NS_LogTerm
[76]    0x00000000   0x0000     0x08   0x0a    0x0          0x0004 NS_CStringContainerInit2
[77]    0x00000000   0x0000     0x08   0x0a    0x0          0x0004 NS_CStringContainerFinish
[78]    0x00000000   0x0000     0x08   0x0a    0x0          0x0007 PR_GetEnv
[79]    0x00000000   0x0000     0x08   0x0a    0x0          0x0007 PR_smprintf_free
[80]    0x00000000   0x0000     0x08   0x0a    0x0          0x0007 PR_smprintf
[81]    0x00000000   0x0000     0x08   0x0a    0x0          0x0007 PR_SetEnv
[82]    0x00000000   0x0000     0x08   0x0a    0x0          0x0006 PL_strcasecmp
[83]    0x110000bb8   0x0002     0x04   0x0a    0x1          0x0000 __start

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1041
  • Karma: +0/-0
Re: Firefox not starting on AIX
« Reply #5 on: April 03, 2014, 07:02:46 AM »
Not been at home long enough to get it loaded on my servers - and to make sure I attempt with the same versions of rpm

Please send output of
Code: [Select]
rpm -qa. and
Code: [Select]
lslpp -L | grep -i firefox and
Code: [Select]
oslevel -q -s | head and
Code: [Select]
oslevel -s
And also dump -X64 -H of the binary.

Thanks.

pravin.katkade

  • New Member
  • *
  • Posts: 4
  • Karma: +0/-0
Re: Firefox not starting on AIX
« Reply #6 on: April 03, 2014, 08:30:22 AM »
#rpm -qa
cdrecord-1.9-7
mkisofs-1.13-4
bash-3.0-1
tcl-8.4.7-3
tk-8.4.7-3
expect-5.42.1-3
atk-1.12.3-2
bash-doc-3.0-1
gzip-1.2.4a-10
tar-1.14-2
unzip-5.51-1
zip-2.3-3
AIX-rpm-6.1.6.15-3
cairo-1.10.0-1
fontconfig-2.4.2-1
freetype-1.3.1-9
gettext-0.10.40-8
zlib-1.2.3-4
libpng-1.2.8-6
libtiff-3.8.2-1
libjpeg-6b-6
xrender-0.9.1-3
xft-2.1.6-5
pango-1.14.5-4
xcursor-1.1.7-3
pixman-0.20.0-1
gtk2-2.10.6-5
glib-1.2.10-2
glib2-2.14.6-2
freetype2-2.3.9-1
freetype-demo-1.3.1-9
freetype-devel-1.3.1-9
cairo-devel-1.10.0-1
pkg-config-0.19-6
expat-2.0.1-2
zlib-devel-1.2.7-1
perl-5.8.2-1
glib2-devel-2.14.6-2
freetype2-devel-2.3.9-1
pango-devel-1.14.5-4
#lslpp -L | grep -i firefox
  Firefox.base.adt          3.6.25.2    C     F    Firefox Development Tools
  Firefox.base.rte          3.6.25.2    C     F    Firefox Web Browser
#oslevel -q -s | head
Known Service Packs
-------------------
6100-07-04-1216
6100-07-03-1207
6100-07-02-1150
6100-07-01-1141
6100-07-00-0000
6100-06-07-1207
6100-06-06-1140
6100-06-05-1115
6100-06-04-1112
6100-06-03-1048
#oslevel -s
6100-07-04-1216
#dump -X64 -H /usr/mozilla/firefox/firefox-bin

/usr/mozilla/firefox/firefox-bin:

                        ***Loader Section***
                      Loader Header Information
VERSION#         #SYMtableENT     #RELOCent        LENidSTR
0x00000001       0x00000054       0x0000008a       0x000000b4

#IMPfilID        OFFidSTR         LENstrTBL        OFFstrTBL
0x0000000b       0x000010b8       0x00000a78       0x0000116c


                        ***Import File Strings***
INDEX  PATH                          BASE                MEMBER
0      /usr/lib:/lib
1                                    libpthreads.a       shr_xpg5_64.o
2                                    libxul.so
3                                    libmozjs.so
4                                    libxpcom.so
5                                    libplds4.so
6                                    libplc4.so
7                                    libnspr4.so
8                                    libC.a              shr_64.o
9                                    libC.a              ansi_64.o
10                                   libc_r.a            shr_64.o

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1041
  • Karma: +0/-0
Re: Firefox not starting on AIX
« Reply #7 on: April 03, 2014, 08:11:48 PM »
The download-prerequisites.sh script specifies some older versions and maybe it does not work with the latest RPM versions - as I have also seen that cairo has a higher version than the script suggests.

Have you tried only installing the rpm versions that the download-prerequisites.sh specifies? Maybe newer is not better.

Code: [Select]
...
# We feed all of these files into the download_and_checksum function.
cat <<EOF | while read info; do download_and_checksum $info; done
1679854831 316946 atk-1.12.3-2.aix5.2.ppc.rpm
886058499 996515 cairo-1.8.8-1.aix5.2.ppc.rpm
1212136997 160182 expat-2.0.1-1.aix5.2.ppc.rpm
2988482614 295348 fontconfig-2.4.2-1.aix5.2.ppc.rpm
2274001079 711492 freetype2-2.3.9-1.aix5.2.ppc.rpm
3313693538 710948 gettext-0.10.40-6.aix5.1.ppc.rpm
4200156380 1615082 glib2-2.12.4-2.aix5.2.ppc.rpm
4274783092 11784046 gtk2-2.10.6-4.aix5.2.ppc.rpm
3000838206 267086 libjpeg-6b-6.aix5.1.ppc.rpm
2364460881 493057 libpng-1.2.32-2.aix5.2.ppc.rpm
4097781457 792582 libtiff-3.8.2-1.aix5.2.ppc.rpm
906157937 892588 pango-1.14.5-4.aix5.2.ppc.rpm
3894468758 55509 xcursor-1.1.7-3.aix5.2.ppc.rpm
3429223428 120078 xft-2.1.6-5.aix5.1.ppc.rpm
2404858804 71653 xrender-0.9.1-3.aix5.2.ppc.rpm
2426580530 110689 zlib-1.2.3-3.aix5.1.ppc.rpm
1630615048 206727 pixman-0.12.0-3.aix5.2.ppc.rpm
EOF

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1041
  • Karma: +0/-0
Re: Firefox not starting on AIX
« Reply #8 on: April 03, 2014, 08:15:49 PM »
p.s. another direction is to go to even newer versions of the RPM, where possible, using Michael Perlz packaging. e.g., cario is at ftp://www.oss4aix.org/RPMS/cairo/ and shows ftp://www.oss4aix.org/RPMS/cairo/cairo-1.12.14-1.aix5.1.ppc.rpm as most recent version.