LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-20-2014, 07:08 AM   #16
jtsn
Member
 
Registered: Sep 2011
Posts: 922

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480

Quote:
Originally Posted by RandomTroll View Post
When dhcpcd loads, it reports 'dhcpcd[23625]: dlsym: /lib/dhcpcd/dev/udev.so: undefined symbol: dev_init' the developer of dhcpcd points to my version of udev.
So it is time to replace dhcpcd with ISC dhclient? Slackware bundles the ISC dhcp package anyway, so what is the point of using dhcpcd? It doesn't even support DHCPv6.
 
Old 01-20-2014, 09:05 AM   #17
mancha
Member
 
Registered: Aug 2012
Posts: 484

Rep: Reputation: Disabled
Quote:
Originally Posted by RandomTroll View Post
When dhcpcd loads, it reports 'dhcpcd[23625]: dlsym: /lib/dhcpcd/dev/udev.so: undefined symbol: dev_init' the developer of dhcpcd points to my version of udev.
The code that generates this error was introduced after dhcpcd 6.0.5 (version that ships with Slackware 14.1). You should mention your system is not stock Slackware.

To see if I could reproduce, I built dhcpcd 6.1.2, which does have the relevant code, on stock Slackware64-14.1.

Unlike yours, my dhcpcd looks for & finds udev.so in /usr/lib64/dhcpcd/dev (not /lib/dhcpcd/dev) and has no issue getting the address for dev_init (symbol confirmed present).

Code:
nm -D /usr/lib64/dhcpcd/dev/udev.so | grep dev_init
I did nothing special. Here's my configure line:

Code:
./configure --prefix=/usr --libdir=/usr/lib64 --sbindir=/sbin --sysconfdir=/etc --dbdir=/var/lib/dhcpcd --libexecdir=/lib/dhcpcd --mandir=/usr/man
--mancha
 
Old 01-20-2014, 10:10 AM   #18
ttk
Senior Member
 
Registered: May 2012
Location: Sebastopol, CA
Distribution: Slackware64
Posts: 1,038
Blog Entries: 27

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
RandomTroll, did you perhaps install dhcpcd from a binary package, rather than building it from a SlackBuild or compiling it from sources?
 
Old 01-20-2014, 03:33 PM   #19
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Technically you probably could import LFS's systemd-extracted udev package for Slackware, but you'd need to possibly adjust the scripts for the rule sets accordingly, and to install install other extras for things like gudev, gobject files, and keymaps you'd need their dependencies, which I know those require gobject-introspection, Glib, Gperf, as well as optionals like pciutils, usbutils, and acl to function.

I don't know how much of systemd-udev is different from classic udev, but from my experience with it, it works fairly much the same.
 
Old 01-20-2014, 11:39 PM   #20
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,971

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
I build dhcpcd from source. I started doing it because I had a problem with dhcpcd and wanted to see if a custom build would solve it. I found out that my problem was my own ignorance about how dhcpcd worked. I keep on building my own version because I want its log entries to go to a file dedicated for that purpose, so I wrote a script to modify the source for that; I'm on the developer's mailing list so I get alerts of upgrades.

This particular problem, dev_init not being found, doesn't seem to cause me a problem. I told the dhcpcd developer in case the information would be of use to him; maybe a problem lurks. He suggested it could be my udev. That's what sent me to looking into more recent udev packages. I only mentioned it because enorbet asked. Finding out about the status of udev in Slackware filled my bill. I wasn't expecting a kind of Spanish Inquisition.
 
Old 01-21-2014, 02:20 AM   #21
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,785

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
Ummm did I miss something? I didn't see anyone treat OP disrespectfully. The questions are either to gain advantage to help OP or oneself. Don't forget that even face-to-face speech can easily be misinterpreted. Text with zero body language even moreso. It seems wise to avoid being quick to taking offense online, IMHO.
 
Old 01-21-2014, 01:29 PM   #22
RandomTroll
Senior Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 1,971

Original Poster
Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by enorbet View Post
Ummm did I miss something? I didn't see anyone treat OP disrespectfully. The questions are either to gain advantage to help OP or oneself. Don't forget that even face-to-face speech can easily be misinterpreted. Text with zero body language even moreso. It seems wise to avoid being quick to taking offense online, IMHO.
I don't know whether you missed anything. I didn't take offense; I didn't think anyone treated me disrespectfully; I didn't say anyone did.

I asked one question. I got an answer. Then enorbet asked me a peripheral question about why I wanted a new udev. I was glad to answer. Then people tried to diagnose the cause of the warning dhcpcd reported, the reason why I asked the original question. I didn't mind, but I didn't ask for it. I hoped that the reference to the Spanish Inquisition would tip readers to irony deployed for humorous purpose. Perhaps I'm too old: kids these days aren't up on their Monty Python.
 
Old 01-21-2014, 01:45 PM   #23
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 4,785

Rep: Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435Reputation: 4435
Quote:
Originally Posted by RandomTroll View Post
I don't know whether you missed anything. I didn't take offense; I didn't think anyone treated me disrespectfully; I didn't say anyone did.

I asked one question. I got an answer. Then enorbet asked me a peripheral question about why I wanted a new udev. I was glad to answer. Then people tried to diagnose the cause of the warning dhcpcd reported, the reason why I asked the original question. I didn't mind, but I didn't ask for it. I hoped that the reference to the Spanish Inquisition would tip readers to irony deployed for humorous purpose. Perhaps I'm too old: kids these days aren't up on their Monty Python.
'Tis but a scratch

and now for something completely different -----

Quote:
Originally Posted by Linus Torvalds
I don't know where the problem started in udev, but the report I saw
was that udev175 was fine, and udev182 was broken, and would deadlock
if module_init() did a request_firmware(). That kind of nested
behavior is absolutely *required* to work, in order to not cause
idiotic problems for the kernel for no good reason.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
lfs 7.4 systemd udev-extras ibmercurial Linux From Scratch 1 12-13-2013 02:26 PM
LXer: Gentoo Team Isolates Udev from Systemd (eudev) LXer Syndicated Linux News 0 05-02-2013 07:12 AM
[SOLVED] BLFS: Udev Extras (from systemd) error erkant Linux From Scratch 2 12-06-2012 12:47 PM
[SOLVED] systemd/udev-196 problem (devices not discovered) re_nelson Linux From Scratch 2 11-29-2012 03:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration