This is rather ridiculous! Many programs depend on zlib, eg. it is
used to compress text when writing pdf.  Luckily I unplugged ubuntu
and converted to debian lenny awhile ago because I got enough from
ubuntu's stability problem.

On Thu, 28 May 2009, Matthew Brand wrote:
> FYI by installing the zlib library Ubuntu stops booting ...
> http://ubuntuforums.org/showthread.php?t=1168419
> 
> Oh well ... yet another day wasted away in Linux buggering around with
> installing things :-))
> 
> 
> 
> On Thu, May 28, 2009 at 10:36 AM, bill lam <[email protected]> wrote:
> > I guess the zlib should already be installed inside your linux,
> > for debian/ubuntu checked by
> >  sudo dpkg -S libz.so
> > and then,
> > LIB=: find_dll 'z'
> >
> > On Thu, 28 May 2009, Matthew Brand wrote:
> >> The problem can be fixed By:
> >>
> >> 1) Download http://www.zlib.net/zlib-1.2.3.tar.gz
> >> 2) ./configure -s
> >> 3) make install
> >>
> >> 4) Change zbuffer.ijs:
> >>      NB. LIB=: jpath ADDONDIR,'lib/',libf,'.',libe
> >>      LIB =: '/usr/local/lib/libz.so.1.2.3'
> >>
> >> 5) test it:
> >>    load 'arc/zip/zbuffer'
> >>    6 zget85 zput85 'abcdef'
> >> abcdef
> >>
> >>
> >> 2009/5/28 Matthew Brand <[email protected]>:
> >> >     (-: # zget85 zput85) 10000$a.
> >> > |domain error: uncompress
> >> > |   e=.    uncompress r;(n=.,x);y;(#y)
> >> >   cder ''
> >> > 2 0
> >> >   cderx ''
> >> > +--+------------------------------------------------------------------------------+
> >> > |11|/home/mb/j64-602/addons/arc/zip/lib/zlibapi64.so: undefined
> >> > symbol: uncompress|
> >> > +--+------------------------------------------------------------------------------+
> >> >
> >> > Below are the symbols in the file, looks like "uncompress" does not
> >> > exist (it is also missing from the 32-bit file zlibapi.so):
> >> >
> >> > m...@mb-laptop:~/j64-602/bin$ nm 
> >> > /home/mb/j64-602/addons/arc/zip/lib/zlibapi64.so
> >> > 000000000021c410 a _DYNAMIC
> >> > 000000000021c640 a _GLOBAL_OFFSET_TABLE_
> >> >                 w _Jv_RegisterClasses
> >> > 000000000021c300 d __CTOR_END__
> >> > 000000000021c2f8 d __CTOR_LIST__
> >> > 000000000021c310 d __DTOR_END__
> >> > 000000000021c308 d __DTOR_LIST__
> >> > 000000000001c2f0 r __FRAME_END__
> >> > 000000000021c318 d __JCR_END__
> >> > 000000000021c318 d __JCR_LIST__
> >> > 000000000021c880 A __bss_start
> >> >                 w __cxa_finalize@@GLIBC_2.2.5
> >> > 0000000000014ed0 t __do_global_ctors_aux
> >> > 0000000000002600 t __do_global_dtors_aux
> >> > 000000000021c800 d __dso_handle
> >> >                 w __gmon_start__
> >> >                 U __stack_chk_fail@@GLIBC_2.4
> >> > 000000000001a280 R _dist_code
> >> > 000000000021c880 A _edata
> >> > 000000000021c888 A _end
> >> > 0000000000014f08 T _fini
> >> > 0000000000002280 T _init
> >> > 000000000001a480 R _length_code
> >> > 000000000000e0f3 T _tr_align
> >> > 000000000000e675 T _tr_flush_block
> >> > 000000000000bee2 T _tr_init
> >> > 000000000000df83 T _tr_stored_block
> >> > 000000000000eaa5 T _tr_tally
> >> > 0000000000012b60 t add_data_in_datablock
> >> > 000000000000267c T adler32
> >> > 0000000000002cc8 T adler32_combine
> >> > 0000000000012a81 t allocate_new_datablock
> >> > 000000000001a600 r base_dist
> >> > 000000000001a580 r base_length
> >> > 000000000000f66e t bi_flush
> >> > 000000000000f63d t bi_reverse
> >> > 000000000000f76b t bi_windup
> >> > 0000000000019d50 r bl_order
> >> > 000000000000d8f7 t build_bl_tree
> >> > 000000000000c6e1 t build_tree
> >> > 00000000000025e0 t call_gmon_start
> >> > 000000000021c884 b calls.3451
> >> > 000000000021c880 b completed.6183
> >> > 0000000000002f71 T compress
> >> > 0000000000002e38 T compress2
> >> > 0000000000002fa6 T compressBound
> >> > 000000000000ec08 t compress_block
> >> > 000000000021c320 d configuration_table
> >> > 000000000000f834 t copy_block
> >> > 0000000000002fdd T crc32
> >> > 000000000000363f t crc32_big
> >> > 0000000000003d36 T crc32_combine
> >> > 0000000000003043 t crc32_little
> >> > 0000000000014f40 r crc_table
> >> > 000000000001288b t crypthead
> >> > 0000000000019b40 r dbase.2824
> >> > 000000000000fc34 t decrypt_byte
> >> > 0000000000012714 t decrypt_byte
> >> > 0000000000004b40 T deflate
> >> > 000000000000495a T deflateBound
> >> > 0000000000005d91 T deflateCopy
> >> > 0000000000005c1b T deflateEnd
> >> > 0000000000003ee9 T deflateInit2_
> >> > 0000000000003ea0 T deflateInit_
> >> > 000000000000473c T deflateParams
> >> > 00000000000046d1 T deflatePrime
> >> > 000000000000451e T deflateReset
> >> > 00000000000042d7 T deflateSetDictionary
> >> > 0000000000004673 T deflateSetHeader
> >> > 00000000000048dc T deflateTune
> >> > 0000000000018f40 R deflate_copyright
> >> > 0000000000006e90 t deflate_fast
> >> > 000000000000766e t deflate_slow
> >> > 0000000000006b07 t deflate_stored
> >> > 0000000000019b00 r dext.2825
> >> > 0000000000018fe0 r distfix.2971
> >> > 0000000000019d00 r extra_blbits
> >> > 0000000000019c80 r extra_dbits
> >> > 0000000000019c00 r extra_lbits
> >> >                 U fclose@@GLIBC_2.2.5
> >> > 000000000000fb72 T fclose_file_func
> >> >                 U ferror@@GLIBC_2.2.5
> >> > 000000000000fb93 T ferror_file_func
> >> > 000000000000fbb4 T fill_fopen_filefunc
> >> > 000000000000685d t fill_window
> >> > 0000000000008c64 t fixedtables
> >> > 0000000000004a4a t flush_pending
> >> >                 U fopen@@GLIBC_2.2.5
> >> > 000000000000f9d0 T fopen_file_func
> >> > 0000000000002650 t frame_dummy
> >> >                 U fread@@GLIBC_2.2.5
> >> > 000000000000fa5c T fread_file_func
> >> >                 U free@@GLIBC_2.2.5
> >> > 0000000000012ac7 t free_datablock
> >> > 0000000000012b26 t free_linkedlist
> >> >                 U fseek@@GLIBC_2.2.5
> >> > 000000000000faef T fseek_file_func
> >> >                 U ftell@@GLIBC_2.2.5
> >> > 000000000000facc T ftell_file_func
> >> >                 U fwrite@@GLIBC_2.2.5
> >> > 000000000000fa94 T fwrite_file_func
> >> > 000000000000c271 t gen_bitlen
> >> > 000000000000c61b t gen_codes
> >> > 0000000000002fd0 T get_crc_table
> >> > 0000000000003cdf t gf2_matrix_square
> >> > 0000000000003c9d t gf2_matrix_times
> >> > 0000000000008ebc T inflate
> >> > 000000000000b538 T inflateCopy
> >> > 000000000000afda T inflateEnd
> >> > 000000000000b1ec T inflateGetHeader
> >> > 0000000000008acb T inflateInit2_
> >> > 0000000000008c3a T inflateInit_
> >> > 0000000000008a20 T inflatePrime
> >> > 00000000000088f4 T inflateReset
> >> > 000000000000b075 T inflateSetDictionary
> >> > 000000000000b2f2 T inflateSync
> >> > 000000000000b4d6 T inflateSyncPoint
> >> > 0000000000019ac0 R inflate_copyright
> >> > 0000000000008080 T inflate_fast
> >> > 000000000000b7a8 T inflate_table
> >> > 000000000000bf9f t init_block
> >> > 000000000000fd43 t init_keys
> >> > 0000000000012823 t init_keys
> >> > 0000000000012b01 t init_linkedlist
> >> > 0000000000019bc0 r lbase.2822
> >> > 0000000000019060 r lenfix.2970
> >> > 0000000000019b80 r lext.2823
> >> > 000000000000618b t lm_init
> >> > 0000000000006305 t longest_match
> >> > 0000000000006671 t longest_match_fast
> >> >                 U malloc@@GLIBC_2.2.5
> >> >                 U memcpy@@GLIBC_2.2.5
> >> >                 U memset@@GLIBC_2.2.5
> >> > 0000000000018f75 r my_version.2942
> >> > 0000000000019860 r order.3071
> >> > 000000000021c808 d p.6181
> >> > 000000000000c072 t pqdownheap
> >> > 00000000000049f4 t putShortMSB
> >> >                 U rand@@GLIBC_2.2.5
> >> > 000000000000608d t read_buf
> >> > 000000000000cb18 t scan_tree
> >> > 000000000000d9bd t send_all_trees
> >> > 000000000000ccd9 t send_tree
> >> > 000000000000f5c7 t set_data_type
> >> >                 U srand@@GLIBC_2.2.5
> >> > 000000000021c860 d static_bl_desc
> >> > 000000000021c840 d static_d_desc
> >> > 000000000001a200 r static_dtree
> >> > 000000000021c820 d static_l_desc
> >> > 0000000000019d80 r static_ltree
> >> >                 U strcmp@@GLIBC_2.2.5
> >> > 000000000000ff71 t strcmpcasenosensitive_internal
> >> >                 U strlen@@GLIBC_2.2.5
> >> > 000000000000b25b t syncsearch
> >> >                 U time@@GLIBC_2.2.5
> >> > 000000000000bedc t tr_static_init
> >> > 00000000000105f4 T unzClose
> >> > 00000000000123d2 T unzCloseCurrentFile
> >> > 0000000000010d69 T unzGetCurrentFileInfo
> >> > 00000000000111d6 T unzGetFilePos
> >> > 00000000000124db T unzGetGlobalComment
> >> > 0000000000010667 T unzGetGlobalInfo
> >> > 0000000000012287 T unzGetLocalExtrafield
> >> > 00000000000125dd T unzGetOffset
> >> > 0000000000011242 T unzGoToFilePos
> >> > 0000000000010dd2 T unzGoToFirstFile
> >> > 0000000000010e89 T unzGoToNextFile
> >> > 0000000000010fbc T unzLocateFile
> >> > 00000000000105d8 T unzOpen
> >> > 000000000001026f T unzOpen2
> >> > 0000000000011bcc T unzOpenCurrentFile
> >> > 0000000000011c29 T unzOpenCurrentFile2
> >> > 0000000000011637 T unzOpenCurrentFile3
> >> > 0000000000011bf8 T unzOpenCurrentFilePassword
> >> > 0000000000011c5c T unzReadCurrentFile
> >> > 0000000000012663 T unzSetOffset
> >> > 0000000000010025 T unzStringFileNameCompare
> >> > 000000000001a700 R unz_copyright
> >> > 0000000000012223 T unzeof
> >> > 00000000000112fd t unzlocal_CheckCurrentFileCoherencyHeader
> >> > 00000000000106ae t unzlocal_DosDateToTmuDate
> >> > 0000000000010747 t unzlocal_GetCurrentFileInfoInternal
> >> > 0000000000010077 t unzlocal_SearchCentralDir
> >> > 000000000000fdab t unzlocal_getByte
> >> > 000000000000fea8 t unzlocal_getLong
> >> > 000000000000fe2d t unzlocal_getShort
> >> > 00000000000121d0 T unztell
> >> > 000000000000fc6a t update_keys
> >> > 000000000001274a t update_keys
> >> > 0000000000008ca2 t updatewindow
> >> > 000000000000f973 T zError
> >> > 000000000021c3c0 D z_errmsg
> >> > 000000000000f991 T zcalloc
> >> > 000000000000f9b3 T zcfree
> >> > 0000000000014ba4 T zipClose
> >> > 0000000000014b83 T zipCloseFileInZip
> >> > 00000000000147a7 T zipCloseFileInZipRaw
> >> > 0000000000014404 t zipFlushWriteBuffer
> >> > 0000000000013914 T zipOpen
> >> > 0000000000013258 T zipOpen2
> >> > 000000000001438f T zipOpenNewFileInZip
> >> > 00000000000142f1 T zipOpenNewFileInZip2
> >> > 000000000001393b T zipOpenNewFileInZip3
> >> > 000000000001451f T zipWriteInFileInZip
> >> > 000000000001a760 R zip_copyright
> >> > 0000000000013060 t ziplocal_SearchCentralDir
> >> > 0000000000012e06 t ziplocal_TmzDateToDosDate
> >> > 0000000000012e9a t ziplocal_getByte
> >> > 0000000000012f97 t ziplocal_getLong
> >> > 0000000000012f1c t ziplocal_getShort
> >> > 0000000000012cef t ziplocal_putValue
> >> > 0000000000012d99 t ziplocal_putValue_inmemory
> >> > 000000000000f94d T zlibCompileFlags
> >> > 000000000000f940 T zlibVersion
> >> >
> >> >
> >> >
> >> > On Thu, May 28, 2009 at 5:07 AM, bill lam <[email protected]> wrote:
> >> >> On Wed, 27 May 2009, Matthew Brand wrote:
> >> >>> Has anybody come across the error below using zget? I am using Linux
> >> >>> 64 with J 6.02.047.
> >> >>>
> >> >>> I changed the zbuffer.ijs file to get it to point to the correct 64bit 
> >> >>> library:
> >> >>> NB. libf=. libp{:: 'zlibapi'; 'libzlib'; 'zlibwapi';''
> >> >>> libf=. libp{:: 'zlibapi64'; 'libzlib'; 'zlibwapi';''
> >> >>>
> >> >>> zput works but zget does not.
> >> >>>
> >> >>>     ( zput85) 10000$a.
> >> >>> GhQY8A7B.ZARjo]jPo=\jl7-g'G;/n'bcpqP`h>pQ'59G<)Qao<E%MreC)pqe^HH21bpsD2)D_G
> >> >>> ['I-F[Bk'rFE2PEF`[<Ho^__Gp%&\"$jmIN%1A5QN/EXPNJgS'9M/&O9hWgRbf\5Qc-%ag/1N8$
> >> >>> /M"$'XK&G&XfHARChdj%D/8V(m-=$'mH^AuERNns;l<?^0ltq43HOB.?a+Lsi[%6a/RPc'e`o#-
> >> >>> f<*r7ERX&%>ISJ,Z#eOb4aZqj5B-,=i?LjR*C"Q7eEJc%c^hgin^?ML=0GoEEV%cK4*U/LJ+2sT
> >> >>> j!RWp4b*"mea#/4hnB'Zn^HYS?b_$hnakB$5C`_3B,L=AW;fBd5O/8Gs,[#+eGl<C+8,Z4s%!#P
> >> >>> lmj`][email protected]&Cuj8,Y[;s&&f...@#pu])A.s/>rfrBKTI;?)^RJ(4LnrZCh5W;fBd5O/8G
> >> >>> rsoM;!s!iMDAE                                                          
> >> >>>    ~>
> >> >>>
> >> >>>      (-: # zget85 zput85) 10000$a.
> >> >>> |domain error: uncompress
> >> >>> |   e=.    uncompress r;(n=.,x);y;(#y)
> >> >>
> >> >> what was the error message from cder'' or cderx'' ?
> >> >>
> >> >> --
> >> >> regards,
> >> >> ====================================================
> >> >> GPG key 1024D/4434BAB3 2008-08-24
> >> >> gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> >> >> 唐詩107 杜甫  春宿左省
> >> >>    花隱掖垣暮  啾啾棲鳥過  星臨萬戶動  月傍九霄多
> >> >>    不寢聽金鑰  因風想玉珂  明朝有封事  數問夜如何
> >> >> ----------------------------------------------------------------------
> >> >> For information about J forums see http://www.jsoftware.com/forums.htm
> >> >
> >> ----------------------------------------------------------------------
> >> For information about J forums see http://www.jsoftware.com/forums.htm
> > --
> > regards,
> > ====================================================
> > GPG key 1024D/4434BAB3 2008-08-24
> > gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
> > 唐詩262 張旭  桃花谿
> >    隱隱飛橋隔野煙  石磯西畔問漁船  桃花盡日隨流水  洞在清谿何處邊
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
-- 
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩144 戴叔倫  江鄉故人偶集客舍
    天秋月又滿  城闕夜千重  還作江南會  翻疑夢裡逢
    風枝驚暗鵲  露草覆寒蟲  羈旅長堪醉  相留畏曉鐘
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to