Bug 908530 - Build Erlang with SCTP support
Summary: Build Erlang with SCTP support
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: erlang
Version: 18
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Peter Lemenkov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-02-06 23:32 UTC by Nils Olav Selåsdal
Modified: 2013-04-25 23:32 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-03-12 08:28:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Nils Olav Selåsdal 2013-02-06 23:32:51 UTC
Description of problem:

Please compile erlang with the --enable-sctp configure flag.
The SCTP protocol is heavily used in IP based telecom networks, and is a good fit with erlang.

Building erlang with sctp support will also require the  lksctp-tools-devel package.

Version-Release number of selected component (if applicable):
erlang-R15B-03.2.fc18.x86_64

Comment 1 Fedora Update System 2013-03-02 06:59:27 UTC
erlang-R15B-03.3.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/erlang-R15B-03.3.fc17

Comment 2 Fedora Update System 2013-03-02 06:59:37 UTC
erlang-R15B-03.3.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/erlang-R15B-03.3.fc18

Comment 3 Fedora Update System 2013-03-02 07:09:03 UTC
erlang-R14B-04.2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/erlang-R14B-04.2.el6

Comment 4 Fedora Update System 2013-03-03 22:36:13 UTC
Package erlang-R15B-03.3.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing erlang-R15B-03.3.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-3343/erlang-R15B-03.3.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-03-12 08:29:00 UTC
erlang-R15B-03.3.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2013-03-12 08:45:31 UTC
erlang-R15B-03.3.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Peter Lemenkov 2013-03-12 08:53:05 UTC
It still requires manual installation of lksctp-tools:

$ sudo yum install lksctp-tools

This will be fixed in the next upgrade.

Comment 8 Fedora Update System 2013-03-24 18:03:22 UTC
erlang-R14B-04.2.el6 has been pushed to the Fedora EPEL 6 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Laurent 2013-03-28 13:17:37 UTC
RPM of erlang-R14B-04.2.el6 on EPEL 6 requires libz.so.1(ZLIB_1.2.2) which is an old version of zlib, no more available in EPEL 6 or EPEL 5. Impossible to install Erlang on our systems which has zlib 1.2.3 installed.

Comment 10 Peter Lemenkov 2013-03-28 13:34:08 UTC
(In reply to comment #9)
> RPM of erlang-R14B-04.2.el6 on EPEL 6 requires libz.so.1(ZLIB_1.2.2) which
> is an old version of zlib, no more available in EPEL 6 or EPEL 5. Impossible
> to install Erlang on our systems which has zlib 1.2.3 installed.

I'm afraid that you need to install both of them (1.2.2 and 1.2.3) separately. I can't help with issues with the packages outside RHEL/EPEL.

Comment 11 Peter Lemenkov 2013-03-28 13:34:26 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > RPM of erlang-R14B-04.2.el6 on EPEL 6 requires libz.so.1(ZLIB_1.2.2) which
> > is an old version of zlib, no more available in EPEL 6 or EPEL 5. Impossible
> > to install Erlang on our systems which has zlib 1.2.3 installed.
> 
> I'm afraid that you need to install both of them (1.2.2 and 1.2.3)
> separately. I can't help with issues with the packages outside RHEL/EPEL.

s,separately,in parallel,

Comment 12 Peter Lemenkov 2013-03-28 13:51:14 UTC
(In reply to comment #9)
> RPM of erlang-R14B-04.2.el6 on EPEL 6 requires libz.so.1(ZLIB_1.2.2) which
> is an old version of zlib, no more available in EPEL 6 or EPEL 5. Impossible
> to install Erlang on our systems which has zlib 1.2.3 installed.

I've just checked - zlib does provides "ZLIB_1.2.2" symbol, so it seems that you have some other issue. Probably my first guess was correct, and you installed zlib from some other repository.

Comment 13 Laurent 2013-03-29 10:25:20 UTC
Indeed, the problem was with our installation. We were using a proxy for the CentOS yum repository, which was not updated with Centos 6.4. Thank you very much for your quick answer!

Comment 14 Sam 2013-04-03 22:33:47 UTC
Hey guys, I am certain that this is absolutely the wrong forum for this question, but I've run into the same problem with zlib on RHEL6 and haven't found any references to the subject elsewhere. I see that 1.2.3 is installed but unrecognized during install (it wants 1.2.2)

Unfortunately I am very new to Linux so I'm not sure how to go about resolving this issue.

Laurent, if you could possibly share the repo URL that you had luck with, I'd appreciate it, or if either of you could provide some instructions on getting the erlang yum install to recognize the 1.2.3 version of libz.so.1, I would be eternally grateful. 

Thanks.

Comment 15 Laurent 2013-04-04 08:33:48 UTC
Sam,

The repository we used is the standard Centos repository, but version 6.4 and not 6.3.

Comment 16 bud.byrd 2013-04-04 13:48:32 UTC
I have run into the same problem with the latest update and zlib.  I am running RHEL 6.2, and the erlang-erts package requires zlib 1.2.2, which is not available on the RHEL repositories for 6.2.  zlib 1.2.3 is installed.

Comment 17 Sam 2013-04-04 18:00:06 UTC
Ah, I see. I am also on 6.2 and that seems to be the issue.

How essential is libz.so.1 to Erlang? Yum provides an option to install with missing dependencies. I'm planning to use Erlang with CouchDB but don't have any specific needs around compression.

If anybody has any advice on the best way to get around this issue, I'd be very appreciative. I'm currently unable to install.

Comment 18 me 2013-04-25 23:04:31 UTC
Sam & Laurent,

I had a similar issue with Oracle 6u3.  When I tried to install erlang yum failed complaining about missing zlib 1.2.2.  

I had this version of zlib installed:

$ rpm -q zlib
zlib-1.2.3-27.el6.x86_64

Which doesn't provide zlib 1.2.2

$ sudo rpm -q --provides zlib
libz.so.1()(64bit)  
zlib = 1.2.3-27.el6
zlib(x86-64) = 1.2.3-27.el6

I add this to my /etc/yum.conf:
[ol6_latest]
name=Oracle Linux $releasever Latest ($basearch)
baseurl=http://public-yum.oracle.com/repo/OracleLinux/OL6/latest/$basearch/
gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
gpgcheck=1
enabled=1

And then I was able to upgrade to a new release of zlib 1.2.3 which did provide 1.2.2:

$ sudo rpm -q  zlib
zlib-1.2.3-29.el6.x86_64

$ sudo rpm -q --provides zlib
libz.so.1()(64bit)  
libz.so.1(ZLIB_1.2.0)(64bit)  
libz.so.1(ZLIB_1.2.0.2)(64bit)  
libz.so.1(ZLIB_1.2.0.8)(64bit)  
libz.so.1(ZLIB_1.2.2)(64bit)  
libz.so.1(ZLIB_1.2.2.3)(64bit)  
libz.so.1(ZLIB_1.2.2.4)(64bit)  
zlib = 1.2.3-29.el6
zlib(x86-64) = 1.2.3-29.el6

And that resolved the issue.

Comment 19 me 2013-04-25 23:32:54 UTC
To clarify my latest comment: I'm on a RHEL 6.3 varient.  I resolved the issue by installing zlib from the 6.4 repo.


Note You need to log in before you can comment on or make changes to this bug.