bugGNU TeXmacs - Bugs: bug #46729, undefined reference to symbol...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #46729: undefined reference to symbol 'deflate' on openSUSE_42.1

Submitter:  ederag <ederag>
Submitted:  Sun 20 Dec 2015 08:25:36 PM UTC
   
 
Category:  Compilation Priority:  5 - Normal
Item Group:  Error Status:  Fixed
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Closed
Release:  None Release:  1.99.4
Fixed Release:  None Fixed Release: 
Keywords: 

Mon 13 Feb 2017 12:07:49 PM UTC, comment #1: 

This has been fixed. Manually adding LDFLAGS=-lz in the spec file is not needed anymore.

Philippe Joyez <pjoyez>
Group Member
Sun 20 Dec 2015 08:25:36 PM UTC, original submission:  

Packaging 1.99.4 for openSUSE_42.1 fails with

[  125s] /usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld:
Objects/OutputFlateEncodeStream.o: undefined reference to symbol 'deflate'
[  125s] /lib64/libz.so.1: error adding symbols: DSO missing from command line

The patch attached checks that libz is indeed present and usable.
...
checking for deflate in -lz... yes
...

It was necessary to add "-lz" to either LDFLAGS or GUILE_LDFLAGS at the configure stage.
Is it a bug in openSUSE_42.1 ?
But 1.0.7.21 does compile fine on this system.

ederag <ederag>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #35804:  texmacs_15c20_libz.diff added by ederag (632B - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pjoyez (Posted a comment)
  • -email is unavailable- added by ederag (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-02-13 pjoyez StatusNone Fixed
        Open/ClosedOpen Closed
    2015-12-20 ederag Attached File- Added texmacs_15c20_libz.diff, #35804

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code